summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-17 15:00:52 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-17 15:00:52 +0100
commit78d21dae9c3a39efb30316d3e38dce120bc1abbd (patch)
tree5357adccfdb180cd25ea87b895bd067aa89c2ef5 /src/normal.c
parent3678f65d43d10b36dc62738aab2f341fa1e18a32 (diff)
downloadvim-git-78d21dae9c3a39efb30316d3e38dce120bc1abbd.tar.gz
patch 8.1.0940: MS-Windows console resizing not handled properlyv8.1.0940
Problem: MS-Windows console resizing not handled properly. Solution: Handle resizing the console better. (Nobuhiro Takasaki, closes #3968, closes #3611)
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c
index 624e34751..ca0d8ff87 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -5401,6 +5401,9 @@ nv_clear(cmdarg_T *cap)
# endif
#endif
redraw_later(CLEAR);
+#if defined(WIN3264) && !defined(FEAT_GUI_W32)
+ resize_console_buf();
+#endif
}
}