- Notifications
You must be signed in to change notification settings - Fork1.8k
Send corresponding escape code for alt+space and ctrl+alt+space#4290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
The previous behavior is that this combinations do nothing.
JasonXJ commentedDec 6, 2022
Thew new behavior matches what gnome-terminal and hterm do. |
Tyriar left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
@jerch does this seem correct to you?
jerch left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Yes looks correct to me. I cannot really test any of them, as my window manager eats those combinations. But the basic idea of the Alt+mechanics is correct: send byte value of the pressed keys withESC prepended:
- "space" --->
0x20==SP - "alt-space" -->
0x1b20==ESC SP - "ctrl-space" --->
0x00==NUL - "alt-ctrl-space" --->
0x1b00==ESC NUL
So I'd give this a go until someone claims, thats not the right Alt expansion for that particular key combinations.
The previous behavior is that this combinations do nothing.