Skip to content
Snippets Groups Projects
Unverified Commit 5130abe7 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Merge branch 'master' into devel

parents 24fa1832 fa7c8977
No related branches found
No related tags found
No related merge requests found
...@@ -430,7 +430,7 @@ function! s:execute(dict, command, use_height, temps) abort ...@@ -430,7 +430,7 @@ function! s:execute(dict, command, use_height, temps) abort
endif endif
if a:use_height if a:use_height
let stdin = has_key(a:dict, 'source') ? '' : '< /dev/tty' 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 else
execute 'silent !'.command execute 'silent !'.command
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment