diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-12-30 20:20:37 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-12-30 20:21:37 +0100 |
commit | 5749ecaf228f4a963a4e96ada831f902c73a1e80 (patch) | |
tree | 97734797112d42f1de02a72d8fcfd89564113bc4 /src | |
parent | 9ca836f893ba529728b549b1b922909f8696e3b2 (diff) | |
download | rneovim-5749ecaf228f4a963a4e96ada831f902c73a1e80.tar.gz rneovim-5749ecaf228f4a963a4e96ada831f902c73a1e80.tar.bz2 rneovim-5749ecaf228f4a963a4e96ada831f902c73a1e80.zip |
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().
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/tui/tui.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index ce05ee6846..426605b785 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -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 |