From 7dcc885a7acd673980478318da12468716e7d10f Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 11 Nov 2020 18:26:47 +0100 Subject: csi: implement “CSI ? 1035” - toggle Num Lock override MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds a num_lock_modifier state to the terminal, and hooks up “CSI?1035h/l” to toggle it. --- terminal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index 4651fc1a..bb986c0c 100644 --- a/terminal.c +++ b/terminal.c @@ -995,6 +995,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper, .esc_prefix = true, .eight_bit = true, }, + .num_lock_modifier = true, .tab_stops = tll_init(), .wl = wayl, .render = { -- cgit v1.3