mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user