diff options
author | Vadim A. Misbakh-Soloviov <msva@users.noreply.github.com> | 2017-09-04 23:48:05 +0700 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-09-04 18:48:05 +0200 |
commit | f050aaabbb31b58ebac519a6f7014610f2b119f0 (patch) | |
tree | 0740a12a7d095659818d88fb493c6bf8b1f7ce39 /src | |
parent | 3922237b1442deed48d1be32a7967e9eb6a19151 (diff) | |
download | rneovim-f050aaabbb31b58ebac519a6f7014610f2b119f0.tar.gz rneovim-f050aaabbb31b58ebac519a6f7014610f2b119f0.tar.bz2 rneovim-f050aaabbb31b58ebac519a6f7014610f2b119f0.zip |
tui: DECSCUSR workaround for Konsole (#7236)
closes #7235
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/tui/tui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index dd93053dbf..1cbd02dfd9 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -1448,7 +1448,7 @@ static void patch_terminfo_bugs(TUIData *data, const char *term, // teminfo entries. See // https://github.com/gnachman/iTerm2/pull/92 for more. // xterm even has an extended version that has a vertical bar. - if (true_xterm // per xterm ctlseqs doco (since version 282) + if (!konsole && (true_xterm // per xterm ctlseqs doco (since version 282) // per MinTTY 0.4.3-1 release notes from 2009 || putty // per https://bugzilla.gnome.org/show_bug.cgi?id=720821 @@ -1463,7 +1463,7 @@ static void patch_terminfo_bugs(TUIData *data, const char *term, // Allows forcing the use of DECSCUSR on linux type terminals, such as // console-terminal-emulator from the nosh toolset, which does indeed // implement the xterm extension: - || (linuxvt && (xterm_version || (vte_version > 0) || colorterm))) { + || (linuxvt && (xterm_version || (vte_version > 0) || colorterm)))) { data->unibi_ext.set_cursor_style = (int)unibi_add_ext_str(ut, "Ss", "\x1b[%p1%d q"); if (-1 == data->unibi_ext.reset_cursor_style) { |