diff options
author | James McCoy <jamessan@jamessan.com> | 2020-04-13 11:06:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 11:06:23 -0400 |
commit | 13b4a6fd4fa67794e76892cb362121a33a756f58 (patch) | |
tree | 31bd8bca21028be79e3111a53725144e854d92f5 /src/nvim/ex_getln.c | |
parent | 46fdad255ead9ca484a6e512efe13b379b8fc8ab (diff) | |
parent | a122f6c6d4d64ab6a3bcd55bde220dc115acd73c (diff) | |
download | rneovim-13b4a6fd4fa67794e76892cb362121a33a756f58.tar.gz rneovim-13b4a6fd4fa67794e76892cb362121a33a756f58.tar.bz2 rneovim-13b4a6fd4fa67794e76892cb362121a33a756f58.zip |
Merge pull request #12073 from janlazo/vim-8.2.0027
vim-patch:8.1.{2366,2378,2387,2387},8.2.{27,560}
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 0c28f2ae70..ecaab76612 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2447,9 +2447,10 @@ redraw: /* make following messages go to the next line */ msg_didout = FALSE; msg_col = 0; - if (msg_row < Rows - 1) - ++msg_row; - emsg_on_display = FALSE; /* don't want os_delay() */ + if (msg_row < Rows - 1) { + msg_row++; + } + emsg_on_display = false; // don't want os_delay() if (got_int) ga_clear(&line_ga); |