aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-12-31 22:24:21 +0100
committerJames McCoy <jamessan@jamessan.com>2019-01-01 11:18:46 -0500
commitf3260129ade2a88cfc5a61b115dbc792eec9bc5b (patch)
treeeed2cb66f430cdb11b575ff514d7d766e37ce51b
parent340d8535851e4cf878da7992a491c1ecc6113d44 (diff)
downloadrneovim-f3260129ade2a88cfc5a61b115dbc792eec9bc5b.tar.gz
rneovim-f3260129ade2a88cfc5a61b115dbc792eec9bc5b.tar.bz2
rneovim-f3260129ade2a88cfc5a61b115dbc792eec9bc5b.zip
TUI: Konsole DECSCUSR fixup (#9423)
Apparently Konsole's terminfo is still broken. ref #9364 closes #9420
-rw-r--r--src/nvim/tui/tui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c
index d1e456f185..ecfdeaeda3 100644
--- a/src/nvim/tui/tui.c
+++ b/src/nvim/tui/tui.c
@@ -1675,8 +1675,7 @@ static void patch_terminfo_bugs(TUIData *data, const char *term,
}
// Blacklist of terminals that cannot be trusted to report DECSCUSR support.
- if (!(st || (vte_version != 0 && vte_version < 3900)
- || (konsolev > 0 && konsolev < 180770))) {
+ if (!(st || (vte_version != 0 && vte_version < 3900) || konsolev)) {
data->unibi_ext.reset_cursor_style = unibi_find_ext_str(ut, "Se");
data->unibi_ext.set_cursor_style = unibi_find_ext_str(ut, "Ss");
}