summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-14 16:43:47 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-14 16:43:47 +0200
commit8e20f75e58f4879308b0011b468ef928a3f93085 (patch)
tree6dc04cd3e593bc5ca4011cfe282d736c6433f4f4
parent0c8059e0b673a11f878acf4067a4b92679f1e0e5 (diff)
downloadvim-git-8e20f75e58f4879308b0011b468ef928a3f93085.tar.gz
patch 8.2.0979: a couple of screendump tests failv8.2.0979
Problem: A couple of screendump tests fail. Solution: Do not redraw when clearing t_8u.
-rw-r--r--src/term.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index f8b56592d..c4ca33e32 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4690,7 +4690,8 @@ handle_version_response(int first, int *arg, int argc, char_u *tp)
// Unless the underline RGB color is expected to work, disable "t_8u".
// It does not work for the real Xterm, it resets the background color.
if (term_props[TPR_UNDERLINE_RGB].tpr_status != TPR_YES && *T_8U != NUL)
- set_option_value((char_u *)"t_8u", 0L, (char_u *)"", 0);
+ set_string_option_direct((char_u *)"t_8u", -1, (char_u *)"",
+ OPT_FREE, 0);
// Only set 'ttymouse' automatically if it was not set
// by the user already.
diff --git a/src/version.c b/src/version.c
index 2c2c573d0..3ac374f8f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 979,
+/**/
978,
/**/
977,