summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/normal.c b/src/normal.c
index e597e9245..06595e98c 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -5394,8 +5394,11 @@ nv_clear(cmdarg_T *cap)
# endif
#endif
redraw_later(CLEAR);
-#if defined(MSWIN) && !defined(FEAT_GUI_MSWIN)
- resize_console_buf();
+#if defined(MSWIN) && (!defined(FEAT_GUI_MSWIN) || defined(VIMDLL))
+# ifdef VIMDLL
+ if (!gui.in_use)
+# endif
+ resize_console_buf();
#endif
}
}