mirror of
https://github.com/junegunn/fzf.git
synced 2025-07-31 12:12:02 -07:00
Clear lines even when background color is not set
Also revert the workaround in Vim plugin introduced in fa7c897
.
Related: #814
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user