TUI: Konsole DECSCUSR fixup (#9423)

Apparently Konsole's terminfo is still broken.

ref #9364
closes #9420
This commit is contained in:
Justin M. Keyes 2018-12-31 22:24:21 +01:00 committed by James McCoy
parent 340d853585
commit f3260129ad
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -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. // Blacklist of terminals that cannot be trusted to report DECSCUSR support.
if (!(st || (vte_version != 0 && vte_version < 3900) if (!(st || (vte_version != 0 && vte_version < 3900) || konsolev)) {
|| (konsolev > 0 && konsolev < 180770))) {
data->unibi_ext.reset_cursor_style = unibi_find_ext_str(ut, "Se"); data->unibi_ext.reset_cursor_style = unibi_find_ext_str(ut, "Se");
data->unibi_ext.set_cursor_style = unibi_find_ext_str(ut, "Ss"); data->unibi_ext.set_cursor_style = unibi_find_ext_str(ut, "Ss");
} }