aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-03-15 14:58:57 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-04-13 12:00:30 -0400
commit63fc0e1d1cedcb8e39524e785648d3f98d682f66 (patch)
treea7b8f1520e3a08debfb93624b4e62eac9c293121 /src
parent351a1cff70a2e2294adb4a90ff35cea38c2accec (diff)
downloadrneovim-63fc0e1d1cedcb8e39524e785648d3f98d682f66.tar.gz
rneovim-63fc0e1d1cedcb8e39524e785648d3f98d682f66.tar.bz2
rneovim-63fc0e1d1cedcb8e39524e785648d3f98d682f66.zip
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) https://github.com/vim/vim/commit/e4fc746d13f5b6a0b5c3a8efdff7de1454c3297d
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index 5457400b76..a70224f98b 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -261,7 +261,7 @@ void op_shift(oparg_T *oap, int curs_top, int amount)
sprintf((char *)IObuff, _("%" PRId64 " lines %sed %d times"),
(int64_t)oap->line_count, s, amount);
}
- msg(IObuff);
+ msg_attr_keep(IObuff, 0, true, false);
}
/*