Replies: 2 comments
-
|
In case anyone else is affected by the lack of Alt keybindings, I'm working on it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This is fixed by #3563. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
(I've read the relevant FAQ.)
When I run
textual keysand pressalt+x, nothing happens. If I pressalt+xagain, I get:If I press
alt+xandfany number of times, nothing happens until I press anyalt+...combination, which then prints all the collected key press events.I suspect this has something to do with how terminals provide
altcombinations. (alt+xis provided as two keys,escapeandx.) Is that correct?I've been living in the terminal for decades. Translating escape sequences to
alt+...keys is very common. This is usually done by waiting a short, configurable amount of time for the escape sequence to complete before defaulting to sending a singleescapecharacter. Emacs seems to wait indefinitely to complete escape sequences.Developers (and users if the developers think this should be configurable) can set this delay to 0 to get an immediate
escapekey. Or they could add a small delay (e.g. 30ms) and get an almost immediateescapekey and lots of additional keybindings.Is there any way I can configure this in Textual?
Would a PR that adds a configurable escape sequence delay be accepted?
I need lots of keybindings in my application and cutting the possible combinations almost in half would probably be a dealbreaker for me.
Beta Was this translation helpful? Give feedback.
All reactions