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 vim/vim#5782)
e4fc746d13
This commit is contained in:
Jan Edmund Lazo
2020-03-15 14:58:57 -04:00
parent 351a1cff70
commit 63fc0e1d1c

View File

@@ -261,7 +261,7 @@ void op_shift(oparg_T *oap, int curs_top, int amount)
sprintf((char *)IObuff, _("%" PRId64 " lines %sed %d times"), sprintf((char *)IObuff, _("%" PRId64 " lines %sed %d times"),
(int64_t)oap->line_count, s, amount); (int64_t)oap->line_count, s, amount);
} }
msg(IObuff); msg_attr_keep(IObuff, 0, true, false);
} }
/* /*