summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-08 14:22:53 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-08 14:22:53 +0100
commitd02e508a18346ca1acb8c0c94c38e62a6ddeefe2 (patch)
tree874cafc6932126d2b348c3c31a0a7dd510f18cb2
parent670218839aef105e83f8effaa1c83100c61c7bcf (diff)
downloadvim-git-d02e508a18346ca1acb8c0c94c38e62a6ddeefe2.tar.gz
patch 8.2.0231: silent system command may clear the screenv8.2.0231
Problem: Silent system command may clear the screen. Solution: Do not clear the screen in t_te.
-rw-r--r--src/term.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c
index 139928683..b942b0f4b 100644
--- a/src/term.c
+++ b/src/term.c
@@ -909,8 +909,8 @@ static struct builtin_term builtin_termcaps[] =
{(int)KS_KE, IF_EB("\033[?1l\033>", ESC_STR "[?1l" ESC_STR_nc ">")},
# ifdef FEAT_XTERM_SAVE
{(int)KS_TI, IF_EB("\0337\033[?47h", ESC_STR "7" ESC_STR_nc "[?47h")},
- {(int)KS_TE, IF_EB("\033[2J\033[?47l\0338",
- ESC_STR "[2J" ESC_STR_nc "[?47l" ESC_STR_nc "8")},
+ {(int)KS_TE, IF_EB("\033[?47l\0338",
+ ESC_STR_nc "[?47l" ESC_STR_nc "8")},
# endif
{(int)KS_CTI, IF_EB("\033[>4;2m", ESC_STR_nc "[>4;2m")},
{(int)KS_CTE, IF_EB("\033[>4;m", ESC_STR_nc "[>4;m")},
diff --git a/src/version.c b/src/version.c
index 8bd7d10bf..db1f9f77b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 231,
+/**/
230,
/**/
229,