diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-15 19:17:50 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-15 19:17:50 +0100 |
commit | e4fc746d13f5b6a0b5c3a8efdff7de1454c3297d (patch) | |
tree | 96bc50d4eb1d86394d0267377c7602cd20b114c4 /src/ops.c | |
parent | 833805a4867cf5f93b3ef91227d1f1a98f553dff (diff) | |
download | vim-git-e4fc746d13f5b6a0b5c3a8efdff7de1454c3297d.tar.gz |
patch 8.2.0389: delayed redraw when shifting text from Insert modev8.2.0389
Problem: Delayed redraw when shifting text from Insert mode.
Solution: Use msg_attr_keep() instead of msg(). (closes #5782)
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |