added console clear to TmuxSession tester

This commit is contained in:
Wryn Wagner 2020-11-11 13:10:33 -07:00
parent 341af8e730
commit b0486ca97d

View File

@ -16,7 +16,7 @@ function TmuxTest(shellCommand, paneId = g:defaultTmuxPaneId)
silent call InitializeTmuxTestSession() silent call InitializeTmuxTestSession()
endif endif
call system("tmux send-keys -t " . a:paneId . " '" . a:shellCommand . "' Enter") call system("tmux send-keys -t " . a:paneId . " 'clear; " . a:shellCommand . "' Enter")
endfunction endfunction
function SplitPaneTest(shellCommand, verticalSplit = 0) function SplitPaneTest(shellCommand, verticalSplit = 0)