mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
test: FocusGained: let UI settle before sending input
This significantly increases the likelihood that the :echo'd text will be included in the next UI flush, instead of being lost.
This commit is contained in:
parent
8716994cf0
commit
ff32bacb2e
@ -320,6 +320,7 @@ describe('tui FocusGained/FocusLost', function()
|
||||
|
||||
retry(2, 3 * screen.timeout, function()
|
||||
feed_data(':terminal\n')
|
||||
screen:sleep(10)
|
||||
feed_data('\027[I')
|
||||
screen:expect([[
|
||||
{1:r}eady $ |
|
||||
|
Loading…
Reference in New Issue
Block a user