diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-01-23 22:23:09 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-01-23 22:23:09 +0000 |
commit | 09df3127f43aa9804e077726ac1bf17cb9e2c85f (patch) | |
tree | 752b65fa5bce149cf43f81dc228204c2be88dc30 /src/getchar.c | |
parent | 33aec765bdc2096f123c5a4c61f8948a61aa9ef5 (diff) |
updated for version 7.0186
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getchar.c b/src/getchar.c index c1c9bca751..5da7537ff0 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -2365,7 +2365,7 @@ vgetorpeek(advance) colnr_T col = 0, vcol; char_u *ptr; - if (p_smd) + if (p_smd && msg_silent == 0) { unshowmode(TRUE); mode_deleted = TRUE; @@ -2641,7 +2641,7 @@ vgetorpeek(advance) * if we return an ESC to exit insert mode, the message is deleted * if we don't return an ESC but deleted the message before, redisplay it */ - if (advance && p_smd && (State & INSERT)) + if (advance && p_smd && msg_silent == 0 && (State & INSERT)) { if (c == ESC && !mode_deleted && !no_mapping) { |