diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-07-01 16:44:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-07-01 16:44:03 +0200 |
commit | e0429681aed5448d1c3b8399d152a2b1a05ea6d7 (patch) | |
tree | 973983ac7327502a40ac91593c628e9846616748 /src/undo.c | |
parent | ca06da92432a57e5dcf3e0eebd322fae80941a6b (diff) | |
download | vim-git-e0429681aed5448d1c3b8399d152a2b1a05ea6d7.tar.gz |
patch 8.1.0135: undo message delays screen update for CTRL-O uv8.1.0135
Problem: Undo message delays screen update for CTRL-O u.
Solution: Add smsg_attr_keep(). (closes #3125)
Diffstat (limited to 'src/undo.c')
-rw-r--r-- | src/undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c index 117321ea6..be4e22ed6 100644 --- a/src/undo.c +++ b/src/undo.c @@ -2968,7 +2968,7 @@ u_undo_end( } #endif - smsg((char_u *)_("%ld %s; %s #%ld %s"), + smsg_attr_keep(0, (char_u *)_("%ld %s; %s #%ld %s"), u_oldcount < 0 ? -u_oldcount : u_oldcount, _(msgstr), did_undo ? _("before") : _("after"), |