diff options
author | raichoo <raichoo@googlemail.com> | 2018-05-02 23:04:52 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-05-18 23:55:17 +0200 |
commit | 50ec030b269152e62bbc27ea1e81e761c5d63c4d (patch) | |
tree | 2ed581bd239173bec0c959feeeb3712a2ddbc514 /src | |
parent | 3de81ea35122b1a8a79e56eb6dd17560c8e14644 (diff) | |
download | rneovim-50ec030b269152e62bbc27ea1e81e761c5d63c4d.tar.gz rneovim-50ec030b269152e62bbc27ea1e81e761c5d63c4d.tar.bz2 rneovim-50ec030b269152e62bbc27ea1e81e761c5d63c4d.zip |
terminal: tickle statusline on entering #8323
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/screen.c | 10 | ||||
-rw-r--r-- | src/nvim/terminal.c | 1 |
2 files changed, 5 insertions, 6 deletions
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); |