summaryrefslogtreecommitdiff
path: root/src/optiondefs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-11-23 20:20:18 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-23 20:20:18 +0000
commit63a2e360cca2c70ab0a85d14771d3259d4b3aafa (patch)
tree9f0d9131e530cf658c2b7bf05e16539a1ebb0a28 /src/optiondefs.h
parent0b6d6a186e961faa5b9058406234ffd93a7e6688 (diff)
downloadvim-git-63a2e360cca2c70ab0a85d14771d3259d4b3aafa.tar.gz
patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebugv9.0.0930
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.
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r--src/optiondefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h
index 5b3860b61..0278b6061 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -1447,6 +1447,10 @@ static struct vimoption options[] =
{"keymodel", "km", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
(char_u *)&p_km, PV_NONE,
{(char_u *)"", (char_u *)0L} SCTX_INIT},
+ {"keyprotocol", "kpc", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
+ (char_u *)&p_kpc, PV_NONE,
+ {(char_u *)"kitty:kitty,foot:kitty,wezterm:kitty,xterm:mok2", (char_u *)0L}
+ SCTX_INIT},
{"keywordprg", "kp", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
(char_u *)&p_kp, PV_KP,
{