mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
Merge #8461 from bfredl/scrollstatus
This commit is contained in:
@@ -295,10 +295,7 @@ static uint8_t *command_line_enter(int firstc, long count, int indent)
|
||||
|
||||
redir_off = true; // don't redirect the typed command
|
||||
if (!cmd_silent) {
|
||||
s->i = msg_scrolled;
|
||||
msg_scrolled = 0; // avoid wait_return message
|
||||
gotocmdline(true);
|
||||
msg_scrolled += s->i;
|
||||
redrawcmdprompt(); // draw prompt or indent
|
||||
set_cmdspos();
|
||||
}
|
||||
@@ -349,7 +346,7 @@ static uint8_t *command_line_enter(int firstc, long count, int indent)
|
||||
|
||||
// redraw the statusline for statuslines that display the current mode
|
||||
// using the mode() function.
|
||||
if (KeyTyped) {
|
||||
if (KeyTyped && msg_scrolled == 0) {
|
||||
curwin->w_redr_status = true;
|
||||
redraw_statuslines();
|
||||
}
|
||||
|
Reference in New Issue
Block a user