win/TUI: ConEmu: get back_color_erase from terminfo

We already set back_color_erase in our builtin terminfo
(terminfo_defs.h:conemu_terminfo), so we don't need to set it explicitly
in patch_terminfo_bugs().
This commit is contained in:
Justin M. Keyes 2018-12-30 20:20:37 +01:00
parent 9ca836f893
commit 5749ecaf22

View File

@ -1515,7 +1515,6 @@ static void patch_terminfo_bugs(TUIData *data, const char *term,
&& strstr(colorterm, "mate-terminal");
bool true_xterm = xterm && !!xterm_version && !bsdvt;
bool cygwin = terminfo_is_term_family(term, "cygwin");
bool conemu = terminfo_is_term_family(term, "conemu");
char *fix_normal = (char *)unibi_get_str(ut, unibi_cursor_normal);
if (fix_normal) {
@ -1555,10 +1554,6 @@ static void patch_terminfo_bugs(TUIData *data, const char *term,
unibi_set_bool(ut, unibi_back_color_erase, false);
}
if (conemu) {
unibi_set_bool(ut, unibi_back_color_erase, true);
}
if (xterm) {
// Termit, LXTerminal, GTKTerm2, GNOME Terminal, MATE Terminal, roxterm,
// and EvilVTE falsely claim to be xterm and do not support important xterm
@ -1630,6 +1625,7 @@ static void patch_terminfo_bugs(TUIData *data, const char *term,
} else if (st) {
// No bugs in the vanilla terminfo for our purposes.
}
// At this time (2017-07-12) it seems like all terminals that support 256
// color codes can use semicolons in the terminal code and be fine.
// However, this is not correct according to the spec. So to reward those