]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.0979: a couple of screendump tests fail v8.2.0979
authorBram Moolenaar <Bram@vim.org>
Sun, 14 Jun 2020 14:43:47 +0000 (16:43 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 14 Jun 2020 14:43:47 +0000 (16:43 +0200)
Problem:    A couple of screendump tests fail.
Solution:   Do not redraw when clearing t_8u.

src/term.c
src/version.c

index f8b56592d5c4c22dfd518488cacddaa1d6190077..c4ca33e32d8fbc633da1fed0715ed760d90ebdba 100644 (file)
@@ -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.
index 2c2c573d0a4d824b8d7d54568abebd28e955fa6f..3ac374f8fc628c810c5d4e0142882510120312d0 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    979,
 /**/
     978,
 /**/