diff options
author | G-flat <63449095+G-flat@users.noreply.github.com> | 2020-10-05 15:15:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 15:15:10 +0800 |
commit | b0769729c805ef33d47f383fd8b2ab18da5fa33c (patch) | |
tree | ee66236c5172c1b65b8a6415f756a78d6db29ac5 /src/nvim/window.c | |
parent | 1d08dfab5b057b51aed98450afd3ad1c888870ff (diff) | |
parent | f7aeac7263c792e1503f9169abed20b6f5b9da99 (diff) | |
download | rneovim-b0769729c805ef33d47f383fd8b2ab18da5fa33c.tar.gz rneovim-b0769729c805ef33d47f383fd8b2ab18da5fa33c.tar.bz2 rneovim-b0769729c805ef33d47f383fd8b2ab18da5fa33c.zip |
Merge pull request #1 from neovim/master
rebase
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 6608deb231..e53570edd8 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -1490,13 +1490,11 @@ int win_split_ins(int size, int flags, win_T *new_wp, int dir) if (flags & (WSP_TOP | WSP_BOT)) (void)win_comp_pos(); - /* - * Both windows need redrawing - */ + // Both windows need redrawing. Update all status lines, in case they + // show something related to the window count or position. redraw_win_later(wp, NOT_VALID); - wp->w_redr_status = TRUE; redraw_win_later(oldwin, NOT_VALID); - oldwin->w_redr_status = TRUE; + status_redraw_all(); if (need_status) { msg_row = Rows - 1; |