0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 9.0.0273: Konsole termresponse not recognized

Problem:    Konsole termresponse not recognized.
Solution:   Handle Konsole like libvterm, set 'ttymouse' to "sgr".
            (closes #10990)
This commit is contained in:
Bram Moolenaar
2022-08-26 12:26:07 +01:00
parent b1d2c8116c
commit d55f9ef8b2
3 changed files with 20 additions and 10 deletions

View File

@@ -4715,7 +4715,8 @@ handle_version_response(int first, int *arg, int argc, char_u *tp)
}
// 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