diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-25 22:29:57 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-25 22:29:57 +0100 |
commit | cb574f415486adff645ce384979bfecf27f5be8c (patch) | |
tree | 7e3ffdb38c38d7b8c1c2c30bfbd9c86e369749ff /src/edit.c | |
parent | 970f5d39f27717b1a529b7b250a8ed7c3f791949 (diff) |
patch 8.1.0822: peeking and flushing output slows down executionv8.1.0822
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)
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index 92dbf4cb51..f797d7f04e 100644 --- a/src/edit.c +++ b/src/edit.c @@ -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 */ |