1
0
forked from aniani/vim

patch 8.2.0389: delayed redraw when shifting text from Insert mode

Problem:    Delayed redraw when shifting text from Insert mode.
Solution:   Use msg_attr_keep() instead of msg(). (closes #5782)
This commit is contained in:
Bram Moolenaar
2020-03-15 19:17:50 +01:00
parent 833805a486
commit e4fc746d13
2 changed files with 3 additions and 1 deletions

View File

@@ -203,7 +203,7 @@ op_shift(oparg_T *oap, int curs_top, int amount)
vim_snprintf((char *)IObuff, IOSIZE,
NGETTEXT(msg_line_single, msg_line_plural, oap->line_count),
oap->line_count, op, amount);
msg((char *)IObuff);
msg_attr_keep((char *)IObuff, 0, TRUE);
}
if (!cmdmod.lockmarks)

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
389,
/**/
388,
/**/