1
0
forked from aniani/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)
This commit is contained in:
Bram Moolenaar
2019-01-25 22:29:57 +01:00
parent 970f5d39f2
commit cb574f4154
5 changed files with 29 additions and 13 deletions

View File

@@ -8722,7 +8722,7 @@ ins_esc(
*/
if (reg_recording != 0 || restart_edit != NUL)
showmode();
else if (p_smd)
else if (p_smd && !skip_showmode())
msg("");
return TRUE; /* exit Insert mode */