mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 19:18:34 +00:00
terminal: tickle statusline on entering #8323
This commit is contained in:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user