mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
terminal: tickle statusline on entering #8323
This commit is contained in:
@@ -4898,12 +4898,10 @@ win_redr_status_matches (
|
|||||||
xfree(buf);
|
xfree(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/// Redraw the status line of window `wp`.
|
||||||
* Redraw the status line of window wp.
|
///
|
||||||
*
|
/// If inversion is possible we use it. Else '=' characters are used.
|
||||||
* If inversion is possible we use it. Else '=' characters are used.
|
static void win_redr_status(win_T *wp)
|
||||||
*/
|
|
||||||
void win_redr_status(win_T *wp)
|
|
||||||
{
|
{
|
||||||
int row;
|
int row;
|
||||||
char_u *p;
|
char_u *p;
|
||||||
|
@@ -403,6 +403,7 @@ void terminal_enter(void)
|
|||||||
// erase the unfocused cursor
|
// erase the unfocused cursor
|
||||||
invalidate_terminal(s->term, s->term->cursor.row, s->term->cursor.row + 1);
|
invalidate_terminal(s->term, s->term->cursor.row, s->term->cursor.row + 1);
|
||||||
showmode();
|
showmode();
|
||||||
|
curwin->w_redr_status = true; // For mode() in statusline. #8323
|
||||||
ui_busy_start();
|
ui_busy_start();
|
||||||
redraw(false);
|
redraw(false);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user