mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-05 01:40:41 -05:00
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:
parent
b2ddacb799
commit
bcea929c94
6 changed files with 18 additions and 5 deletions
3
input.c
3
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue