Mercurial > vim
comparison src/undo.c @ 14237:487d7bda80ea v8.1.0135
patch 8.1.0135: undo message delays screen update for CTRL-O u
commit https://github.com/vim/vim/commit/e0429681aed5448d1c3b8399d152a2b1a05ea6d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 1 16:44:03 2018 +0200
patch 8.1.0135: undo message delays screen update for CTRL-O u
Problem: Undo message delays screen update for CTRL-O u.
Solution: Add smsg_attr_keep(). (closes https://github.com/vim/vim/issues/3125)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 01 Jul 2018 16:45:06 +0200 |
parents | de75c249723d |
children | 3c80092eb211 |
comparison
equal
deleted
inserted
replaced
14236:7a7664dc9f4c | 14237:487d7bda80ea |
---|---|
2966 redraw_win_later(wp, NOT_VALID); | 2966 redraw_win_later(wp, NOT_VALID); |
2967 } | 2967 } |
2968 } | 2968 } |
2969 #endif | 2969 #endif |
2970 | 2970 |
2971 smsg((char_u *)_("%ld %s; %s #%ld %s"), | 2971 smsg_attr_keep(0, (char_u *)_("%ld %s; %s #%ld %s"), |
2972 u_oldcount < 0 ? -u_oldcount : u_oldcount, | 2972 u_oldcount < 0 ? -u_oldcount : u_oldcount, |
2973 _(msgstr), | 2973 _(msgstr), |
2974 did_undo ? _("before") : _("after"), | 2974 did_undo ? _("before") : _("after"), |
2975 uhp == NULL ? 0L : uhp->uh_seq, | 2975 uhp == NULL ? 0L : uhp->uh_seq, |
2976 msgbuf); | 2976 msgbuf); |