summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2017-01-22 03:19:50 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2017-01-22 03:19:50 +0900
commit2a669e9a1754c71fb88c6a316378ee708d710efd (patch)
treef71ab0076d4f5046e9ba41263fcbc6960d2bdb0a /plugin
parent5130abe76fe4afc9fe22df023fd3d3e715dcc014 (diff)
downloadfzf-2a669e9a1754c71fb88c6a316378ee708d710efd.tar.gz
Clear lines even when background color is not set
Also revert the workaround in Vim plugin introduced in fa7c897. Related: #814
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 8778c785..4064a559 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -430,7 +430,7 @@ function! s:execute(dict, command, use_height, temps) abort
endif
if a:use_height
let stdin = has_key(a:dict, 'source') ? '' : '< /dev/tty'
- call system(printf('tput cup %d > /dev/tty; tput cnorm > /dev/tty; tput el > /dev/tty; %s %s 2> /dev/tty', &lines, command, stdin))
+ call system(printf('tput cup %d > /dev/tty; tput cnorm > /dev/tty; %s %s 2> /dev/tty', &lines, command, stdin))
else
execute 'silent !'.command
endif