aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 1eed8290f3..8f4f894128 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -8185,6 +8185,8 @@ void screen_resize(int width, int height, int mustset)
Columns = width;
}
check_shellsize();
+ height = Rows;
+ width = Columns;
if (abstract_ui) {
// Clear the output buffer to ensure UIs don't receive redraw command meant