patch 9.0.0273: Konsole termresponse not recognized
Problem: Konsole termresponse not recognized.
Solution: Handle Konsole like libvterm, set 'ttymouse' to "sgr".
(closes #10990)
diff --git a/src/term.c b/src/term.c
index f9cc4a5..a922938 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4715,7 +4715,8 @@
}
// libvterm sends 0;100;0
- if (version == 100 && arg[0] == 0 && arg[2] == 0)
+ // Konsole sends 0;115;0 and works the same way
+ if ((version == 100 || version == 115) && arg[0] == 0 && arg[2] == 0)
{
// If run from Vim $COLORS is set to the number of
// colors the terminal supports. Otherwise assume