diff options
Diffstat (limited to 'src/testdir/term_util.vim')
-rw-r--r-- | src/testdir/term_util.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/term_util.vim b/src/testdir/term_util.vim index 715a4ac760..2d66f38a58 100644 --- a/src/testdir/term_util.vim +++ b/src/testdir/term_util.vim @@ -127,6 +127,9 @@ func StopVimInTerminal(buf) " In Command-line it's inserted, the CTRL-U removes it again. call term_sendkeys(a:buf, "\<C-O>:\<C-U>qa!\<cr>") + " Wait for all the pending updates to terminal to complete + call TermWait(a:buf) + call WaitForAssert({-> assert_equal("finished", term_getstatus(a:buf))}) only! endfunc |