1
0
forked from aniani/vim

patch 8.2.0979: a couple of screendump tests fail

Problem:    A couple of screendump tests fail.
Solution:   Do not redraw when clearing t_8u.
This commit is contained in:
Bram Moolenaar
2020-06-14 16:43:47 +02:00
parent 0c8059e0b6
commit 8e20f75e58
2 changed files with 4 additions and 1 deletions

View 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.