Mercurial > vim
comparison src/term.c @ 20854:bd56f4045f37 v8.2.0979
patch 8.2.0979: a couple of screendump tests fail
Commit: https://github.com/vim/vim/commit/8e20f75e58f4879308b0011b468ef928a3f93085
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 14 16:43:47 2020 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Jun 2020 16:45:03 +0200 |
parents | a9e3208048b2 |
children | 9328feafbbf5 |
comparison
equal
deleted
inserted
replaced
20853:d5d426fb150c | 20854:bd56f4045f37 |
---|---|
4688 */ | 4688 */ |
4689 | 4689 |
4690 // Unless the underline RGB color is expected to work, disable "t_8u". | 4690 // Unless the underline RGB color is expected to work, disable "t_8u". |
4691 // It does not work for the real Xterm, it resets the background color. | 4691 // It does not work for the real Xterm, it resets the background color. |
4692 if (term_props[TPR_UNDERLINE_RGB].tpr_status != TPR_YES && *T_8U != NUL) | 4692 if (term_props[TPR_UNDERLINE_RGB].tpr_status != TPR_YES && *T_8U != NUL) |
4693 set_option_value((char_u *)"t_8u", 0L, (char_u *)"", 0); | 4693 set_string_option_direct((char_u *)"t_8u", -1, (char_u *)"", |
4694 OPT_FREE, 0); | |
4694 | 4695 |
4695 // Only set 'ttymouse' automatically if it was not set | 4696 // Only set 'ttymouse' automatically if it was not set |
4696 // by the user already. | 4697 // by the user already. |
4697 if (!option_was_set((char_u *)"ttym") | 4698 if (!option_was_set((char_u *)"ttym") |
4698 && (term_props[TPR_MOUSE].tpr_status == TPR_MOUSE_XTERM2 | 4699 && (term_props[TPR_MOUSE].tpr_status == TPR_MOUSE_XTERM2 |