config: add [key-bindings].noop action

Key combinations assigned to this action will not be sent to the
application.

Closes #765
This commit is contained in:
Daniel Eklöf 2021-10-24 11:49:37 +02:00
parent b2ddacb799
commit bcea929c94
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 18 additions and 5 deletions

View file

@ -84,6 +84,7 @@ static const uint32_t default_color_table[256] = {
static const char *const binding_action_map[] = {
[BIND_ACTION_NONE] = NULL,
[BIND_ACTION_NOOP] = "noop",
[BIND_ACTION_SCROLLBACK_UP_PAGE] = "scrollback-up-page",
[BIND_ACTION_SCROLLBACK_UP_HALF_PAGE] = "scrollback-up-half-page",
[BIND_ACTION_SCROLLBACK_UP_LINE] = "scrollback-up-line",