mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.2647: terminal test sometimes hangs
Problem: Terminal test sometimes hangs. Solution: Wait for the shell to display a prompt.
This commit is contained in:
parent
f28f2ac425
commit
f4a2ed0714
@ -889,6 +889,8 @@ endfunc
|
||||
|
||||
func TerminalTmap(remap)
|
||||
let buf = Run_shell_in_terminal({})
|
||||
" Wait for the shell to display a prompt
|
||||
call WaitForAssert({-> assert_notequal('', term_getline(buf, 1))})
|
||||
call assert_equal('t', mode())
|
||||
|
||||
if a:remap
|
||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2647,
|
||||
/**/
|
||||
2646,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user