mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug
Problem: Cannot debug the Kitty keyboard protocol with TermDebug. Solution: Add Kitty keyboard protocol support to the libvterm fork. Recognize the escape sequences that the protocol generates. Add the 'keyprotocol' option to allow the user to specify for which terminal what protocol is to be used, instead of hard-coding this. Add recognizing the kitty keyboard protocol status.
This commit is contained in:
@@ -1663,6 +1663,13 @@ did_set_string_option(
|
||||
}
|
||||
}
|
||||
|
||||
// 'keyprotocol'
|
||||
else if (varp == &p_kpc)
|
||||
{
|
||||
if (match_keyprotocol(NULL) == KEYPROTOCOL_FAIL)
|
||||
errmsg = e_invalid_argument;
|
||||
}
|
||||
|
||||
// 'mousemodel'
|
||||
else if (varp == &p_mousem)
|
||||
{
|
||||
|
Reference in New Issue
Block a user