changeset 19665:b64343cbabc6 v8.2.0389

patch 8.2.0389: delayed redraw when shifting text from Insert mode Commit: https://github.com/vim/vim/commit/e4fc746d13f5b6a0b5c3a8efdff7de1454c3297d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 15 19:17:50 2020 +0100 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 https://github.com/vim/vim/issues/5782)
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Mar 2020 19:30:04 +0100
parents ffe105b08a03
children d758539f6e00
files src/ops.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ops.c
+++ b/src/ops.c
@@ -203,7 +203,7 @@ op_shift(oparg_T *oap, int curs_top, int
 	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)
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    389,
+/**/
     388,
 /**/
     387,