diff options
-rw-r--r-- | plugin/fzf.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 9c9c6db0..d1a81fc5 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -428,7 +428,8 @@ function! s:execute(dict, command, use_height, temps) abort let command = escaped endif if a:use_height - call system(printf('tput cup %d > /dev/tty; tput cnorm > /dev/tty; %s 2> /dev/tty', &lines, command)) + 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)) else execute 'silent !'.command endif |