mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00: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:
@@ -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 $ |
|
||||
|
Reference in New Issue
Block a user