diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 4064a55..8778c78 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; %s %s 2> /dev/tty', &lines, command, stdin)) + call system(printf('tput cup %d > /dev/tty; tput cnorm > /dev/tty; tput el > /dev/tty; %s %s 2> /dev/tty', &lines, command, stdin)) else execute 'silent !'.command endif