Skip to content
Myr

[vim] tput el to clear the last line

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Close #814 Not grouping commands to avoid errors on non-standard shells.

authored by Junegunn Choi · committed by Junegunn Choi · parent a06ccc9 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:plugin/fzf.vim+1 added-1 removed
428 unmodified lines
429 let command = escaped430 endif431 if a:use_height432 let stdin = has_key(a:dict, 'source') ? '' : '< /dev/tty'433 call system(printf('tput cup %d > /dev/tty; tput cnorm > /dev/tty; %s %s 2> /dev/tty', &lines, command, stdin))433 call system(printf('tput cup %d > /dev/tty; tput cnorm > /dev/tty; tput el > /dev/tty; %s %s 2> /dev/tty', &lines, command, stdin))434 else435 execute 'silent !'.command436 endif437 let exit_status = v:shell_error
223 unmodified lines