diff --git a/src/term.c b/src/term.c index abc8a383e..0f80e9c40 100644 --- a/src/term.c +++ b/src/term.c @@ -4826,7 +4826,9 @@ handle_version_response(int first, int *arg, int argc, char_u *tp) // This may cause some flicker. Alternative would be to set "t_8u" // here if the terminal is expected to support it, but that might // conflict with what was set in the .vimrc. - if (term_props[TPR_UNDERLINE_RGB].tpr_status != TPR_YES && *T_8U != NUL) + if (term_props[TPR_UNDERLINE_RGB].tpr_status != TPR_YES + && *T_8U != NUL + && !option_was_set((char_u *)"t_8u")) { set_string_option_direct((char_u *)"t_8u", -1, (char_u *)"", OPT_FREE, 0); diff --git a/src/version.c b/src/version.c index 6bed251bb..83d8e1b49 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4798, /**/ 4797, /**/