aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-05-03 20:53:45 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-05-04 09:15:19 +0200
commit0d037ad978c01b0f57d0fc11da6554dda967b13d (patch)
treefbfc5fd7fa94b73465c39002e6a6d264b425f050 /src
parente46534b4230242c0d41831cc7ad16863c976b151 (diff)
downloadrneovim-0d037ad978c01b0f57d0fc11da6554dda967b13d.tar.gz
rneovim-0d037ad978c01b0f57d0fc11da6554dda967b13d.tar.bz2
rneovim-0d037ad978c01b0f57d0fc11da6554dda967b13d.zip
messages: redraw tabline if it was overdrawn by messages
fixes #8354 Regression from #8088, where we try to avoid clearing the screen if not absolutely necessary
Diffstat (limited to 'src')
-rw-r--r--src/nvim/screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 2e64eb864f..b615f69cd3 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -309,6 +309,9 @@ void update_screen(int type)
if (wp->w_winrow + wp->w_height + wp->w_status_height > valid) {
wp->w_redr_status = true;
}
+ if (valid == 0) {
+ redraw_tabline = true;
+ }
}
} else if (msg_scrolled > Rows - 5) { // clearing is faster
type = CLEAR;