vim-patch:8.1.0822: peeking and flushing output slows down execution

Problem:    Peeking and flushing output slows down execution.
Solution:   Do not update the mode message when global_busy is set.  Do not
            flush when only peeking for a character. (Ken Takata)
cb574f4154
This commit is contained in:
Jan Edmund Lazo
2019-07-20 18:28:16 -04:00
parent 84faeb07d0
commit 0519a75f6e
7 changed files with 29 additions and 14 deletions

View File

@@ -130,12 +130,12 @@ describe('timers', function()
nvim_async("command", "call timer_start("..load_adjust(100)..", 'AddItem', {'repeat': -1})")
screen:expect([[
ITEM 1 |
^ITEM 1 |
ITEM 2 |
{1:~ }|
{1:~ }|
{1:~ }|
^ |
|
]])
nvim_async("command", "let g:cont = 1")