diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-01 16:55:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 16:55:50 -0400 |
commit | 0bf24d3eb1b14e85f19c6b2449e9c85ff0bcb0ab (patch) | |
tree | 825f97fa925b4bdef5d3a68b3b493be2ef72ef16 /src/nvim/ex_getln.c | |
parent | cee19696b648ae8e60b0aadedf884cf17eb09df0 (diff) | |
parent | 7959aaf7811a8b0b5b82b7bc895734911e7a7813 (diff) | |
download | rneovim-0bf24d3eb1b14e85f19c6b2449e9c85ff0bcb0ab.tar.gz rneovim-0bf24d3eb1b14e85f19c6b2449e9c85ff0bcb0ab.tar.bz2 rneovim-0bf24d3eb1b14e85f19c6b2449e9c85ff0bcb0ab.zip |
Merge pull request #14270 from janlazo/vim-8.2.2678
vim-patch:8.1.0986,8.2.{2678,2683,2686}
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 9977be56ca..76df01c205 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -775,9 +775,9 @@ static uint8_t *command_line_enter(int firstc, long count, int indent) redrawcmd(); } - // redraw the statusline for statuslines that display the current mode - // using the mode() function. - if (!cmd_silent && msg_scrolled == 0) { + // Redraw the statusline in case it uses the current mode using the mode() + // function. + if (!cmd_silent && msg_scrolled == 0 && *p_stl != NUL) { curwin->w_redr_status = true; redraw_statuslines(); } |