# HG changeset patch # User Bram Moolenaar # Date 1581168609 -3600 # Node ID 0dd8d1291439e3c7178aad05282e5e463ae1e08c # Parent c221e35656dcb69fde3172283164b0d869c6fb61 patch 8.2.0231: silent system command may clear the screen Commit: https://github.com/vim/vim/commit/d02e508a18346ca1acb8c0c94c38e62a6ddeefe2 Author: Bram Moolenaar Date: Sat Feb 8 14:22:53 2020 +0100 patch 8.2.0231: silent system command may clear the screen Problem: Silent system command may clear the screen. Solution: Do not clear the screen in t_te. diff --git a/src/term.c b/src/term.c --- a/src/term.c +++ b/src/term.c @@ -909,8 +909,8 @@ static struct builtin_term builtin_termc {(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 --- 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,