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:
@@ -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
|
||||
|
Reference in New Issue
Block a user