diff --git a/src/nvim/screen.c b/src/nvim/screen.c index f034ac33f1..f15afa619f 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -4898,12 +4898,10 @@ win_redr_status_matches ( xfree(buf); } -/* - * Redraw the status line of window wp. - * - * If inversion is possible we use it. Else '=' characters are used. - */ -void win_redr_status(win_T *wp) +/// Redraw the status line of window `wp`. +/// +/// If inversion is possible we use it. Else '=' characters are used. +static void win_redr_status(win_T *wp) { int row; char_u *p; diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index f68bb2458d..31875fac31 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -403,6 +403,7 @@ void terminal_enter(void) // erase the unfocused cursor invalidate_terminal(s->term, s->term->cursor.row, s->term->cursor.row + 1); showmode(); + curwin->w_redr_status = true; // For mode() in statusline. #8323 ui_busy_start(); redraw(false);