From bcea929c94cc8f8da8f29e52c17b09824a252318 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 24 Oct 2021 11:49:37 +0200 Subject: config: add [key-bindings].noop action Key combinations assigned to this action will not be sent to the application. Closes #765 --- input.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'input.c') diff --git a/input.c b/input.c index 7ffdd91f..19ec2cfa 100644 --- a/input.c +++ b/input.c @@ -87,6 +87,9 @@ execute_binding(struct seat *seat, struct terminal *term, case BIND_ACTION_NONE: return true; + case BIND_ACTION_NOOP: + return true; + case BIND_ACTION_SCROLLBACK_UP_PAGE: if (term->grid == &term->normal) { cmd_scrollback_up(term, term->rows); -- cgit v1.3