Key binding "Quit", "ScrollPageUp" and "ScrollPageDown" not working
Please forgive me for editing so frequently, I discovered some quirks that actually more fit in a spearated issue.
Rio version: v0.2.30 OS: Windows 11
The action "Quit", "ScrollPageUp" and "ScrollPageDown" just do nothing.
Below is my configuration for reference:
[bindings]
keys = [
{ with = 'alt', key = 'p', action = 'Paste' },
{ with = 'alt', key = 'y', action = 'Copy' },
{ with = 'alt', key = 'v', action = 'SplitRight' },
{ with = 'alt', key = 's', action = 'SplitDown' },
{ with = 'alt', key = 'w', action = 'SelectNextSplit' },
{ with = 'alt', key = 'x', action = 'CloseSplitOrTab' },
{ with = 'alt', key = 'o', action = 'CreateTab' },
{ with = 'alt', key = 'h', action = 'SelectPrevTab' },
{ with = 'alt', key = 'l', action = 'SelectNextTab' },
{ with = 'alt', key = 'k', action = 'Scroll(1)' },
{ with = 'alt', key = 'j', action = 'Scroll(-1)' },
{ with = 'alt', key = 'u', action = 'ScrollPageUp' },
{ with = 'alt', key = 'd', action = 'ScrollPageDown' },
{ with = 'alt', key = 'q', action = 'Quit' }
]
I have the same issue with version 0.2.32 on Ubuntu 25.10. My keybinding for action = "Quit" doesn't work.
I have the same issue on Windows 11 version 0.236
I encounter the same problem on Artix Linux.
The Quit part of this is the same bug as #892 — root cause posted there: the Quit action emits RioEvent::Quit, but application.rs only handles RioEvent::Exit, so the event is dropped (context/mod.rs:672 vs application.rs:422). See https://github.com/raphamorim/rio/issues/892#issuecomment-4575358147.
Note ScrollPageUp/ScrollPageDown are a separate matter — those actions are handled (screen/mod.rs:1187/1200), so that part likely has a different cause.
the Quit part is fixed on main (see #892). ScrollPageUp/ScrollPageDown are a separate thing, can you retest those on 0.4.11? #1717 also made [bindings] live reload, so make sure to test on a fresh build