summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/os_win32.c6
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index 1952b3636..77e43d5d3 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -5431,6 +5431,9 @@ termcap_mode_start(void)
if (g_fTermcapMode)
return;
+ if (!p_rs && USE_VTP)
+ vtp_printf("\033[?1049h");
+
SaveConsoleBuffer(&g_cbNonTermcap);
if (g_cbTermcap.IsValid)
@@ -5530,6 +5533,9 @@ termcap_mode_end(void)
SetConsoleCursorPosition(g_hConOut, coord);
}
+ if (!p_rs && USE_VTP)
+ vtp_printf("\033[?1049l");
+
g_fTermcapMode = FALSE;
}
#endif // FEAT_GUI_MSWIN
diff --git a/src/version.c b/src/version.c
index 43f9e5943..035372077 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 490,
+/**/
489,
/**/
488,