diff options
author | Jit <gelguy@gmail.com> | 2019-05-26 19:52:30 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-05-26 19:52:30 +0200 |
commit | 0bbaef8a99af8733cc64ff29858e17c19ed30b3c (patch) | |
tree | 988d75711bdcc8ff3d1447f75bcd607200dcdbc8 /src/nvim/message.c | |
parent | fc7861f0faf907fba4cd0259bc3e8665f3df473b (diff) | |
download | rneovim-0bbaef8a99af8733cc64ff29858e17c19ed30b3c.tar.gz rneovim-0bbaef8a99af8733cc64ff29858e17c19ed30b3c.tar.bz2 rneovim-0bbaef8a99af8733cc64ff29858e17c19ed30b3c.zip |
UI/cmdline: check if redraw is needed after K_EVENT, K_COMMAND #9804
fixes #8490
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r-- | src/nvim/message.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index 077c28eb2c..07148cee76 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -1881,6 +1881,8 @@ static void msg_puts_display(const char_u *str, int maxlen, int attr, return; } + cmdline_was_last_drawn = redrawing_cmdline; + while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL) { // We are at the end of the screen line when: // - When outputting a newline. |