summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f67706699..b8390508d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -706,6 +706,10 @@ vim_main2(void)
scroll_region_reset(); /* In case Rows changed */
scroll_start(); /* may scroll the screen to the right position */
+#ifdef FEAT_TITLE
+ term_push_title(SAVE_RESTORE_BOTH);
+#endif
+
/*
* Don't clear the screen when starting in Ex mode, unless using the GUI.
*/