mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-28 07:58:00 -04:00
csi: implement “CSI ? 1035” - toggle Num Lock override
This adds a num_lock_modifier state to the terminal, and hooks up “CSI?1035h/l” to toggle it.
This commit is contained in:
parent
75bd780f02
commit
2382d6b448
3 changed files with 11 additions and 0 deletions
|
|
@ -1047,6 +1047,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
|
|||
.esc_prefix = true,
|
||||
.eight_bit = true,
|
||||
},
|
||||
.num_lock_modifier = true,
|
||||
.bell_is_urgent = conf->bell_is_urgent,
|
||||
.tab_stops = tll_init(),
|
||||
.wl = wayl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue