aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-12-31 22:24:21 +0100
committerGitHub <noreply@github.com>2018-12-31 22:24:21 +0100
commit3340e08becbfcc4d6bcbd1aa28e37076ca2f7723 (patch)
tree9fad74916c5eb97f1f11407fd853f53ab08731b6
parent6427894d891100c0a41f569ecde65bfdce2ea00c (diff)
downloadrneovim-3340e08becbfcc4d6bcbd1aa28e37076ca2f7723.tar.gz
rneovim-3340e08becbfcc4d6bcbd1aa28e37076ca2f7723.tar.bz2
rneovim-3340e08becbfcc4d6bcbd1aa28e37076ca2f7723.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 62cdd51c92..df8522bff2 100644
--- a/src/nvim/tui/tui.c
+++ b/src/nvim/tui/tui.c
@@ -1680,8 +1680,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");
}