aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-22 21:42:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-28 14:14:55 +0000
commit8f38cd486f73db1bb2239acf0ab8382786a21752 (patch)
treeb187740957fdb2c82bec73a5ce8e86f5eadb9bd0 /csi.c
parentinput: legacy: use ALEN(mod_param_map) (diff)
term: rename: KITTY_KBD_MASK -> KITTY_KBD_SUPPORTED
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/csi.c b/csi.c
index 9f29bb3d..f27f805f 100644
--- a/csi.c
+++ b/csi.c
@@ -1543,7 +1543,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
break; /* final == 'm' */
case 'u': {
- int flags = vt_param_get(term, 0, 0) & KITTY_KBD_MASK;
+ int flags = vt_param_get(term, 0, 0) & KITTY_KBD_SUPPORTED;
struct grid *grid = term->grid;
uint8_t idx = grid->kitty_kbd.idx;
@@ -1693,7 +1693,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
break;
case 'u': {
- int flag_set = vt_param_get(term, 0, 0) & KITTY_KBD_MASK;
+ int flag_set = vt_param_get(term, 0, 0) & KITTY_KBD_SUPPORTED;
int mode = vt_param_get(term, 1, 1);
struct grid *grid = term->grid;