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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking: Missing key combinations #685
Comments
@TimonPost |
It depends if the terminal supports escape codes for certain special key combinations. It indeed might be the case that it can be mapped but isn't implemented yet, in that case, it's a simple addition to the existing parsing code. If you have any in mind feel free to add them. |
@TimonPost Edit: Same result using bash as well. |
Can this be closed with the addition of the keyboard enhancement feature to 0.25? That support is limited to certain terminals, but most of these are unsupportable without it. |
This issue tracks all kinds of missing key combinations so can not be closed as there are still some left |
i want to ask a question about the items that dont have a for example
another question: they corresponding issues are closed in favor of this one, right?
note: im using
|
Yes, I need to go through them again and add boxes for combinations that have no solution yet. Will add a note that not all are solved. |
another technical question, please, is there a way to get a to at least to see what cant see anything like that in the docs. |
Please join the discord for questions like this, prefer to keep this thread short |
As mentioned in #771. |
this works in termwiz (linux) so its probably doable |
@coastalwhite which terminal/os shift+tab work for me (linux/wezterm) For anyone trying to report a bug in key combo please do:
|
Sorry for not being entirely clear. This is purely a Linux TTY issue, it works fine in any non-TTY terminal I have tried (Alacritty, Kitty, etc.). So if you run
|
just making it clear that #669 is still unresolved – |
I am unable to get |
turns out thiis works with the kitty protocol, in linux wezterm (with enable_kitty_keyboard=true) I have this working now ctrl+shift+letter ctrl+shift+enter |
Parsing ANSI codes to input events is a pain. There is no good way to tell which terminals implement which key combinations. Therefore it might occur that some terminals do support certain key presses while others dont. This issue serves as a tracking issue and lists various keys that are reported missing. Either it might be that crossterm has not yet implemented it or that the terminal doesn't support the key combination. Please post your missing keys in this issue.
How to debug
This code is responsible for parsing a bytes buffer to an event. If you miss a key, it is useful if you can print the buffer with
println!("Buffer: {:?}, buffer)
in this function. Then report that value with the missing keys in this issue. That way we can trace back and see if crossterm should add parsing logic for that buffer.Reported Missing
Ctrl + Enter
= modifiers::NONE (iTerm2, Terminal.app, gnome-terminal,VSCode Integrated Terminal)Shift
/Ctrl
+Enter
returnsmodifiers::NONE
#669, inconsistent reporting of ^Enter #508Shift + Enter
= modifiers::NONE (iTerm2, Terminal.app, gnome-terminal,VSCode Integrated Terminal)Shift
/Ctrl
+Enter
returnsmodifiers::NONE
#669Alt + Enter
= modifiers::ALT (iTerm2, Terminal.app, VSCode Integrated Terminal)Shift
/Ctrl
+Enter
returnsmodifiers::NONE
#669Alt + Enter
= modifiers::NONE (iTerm2, Terminal.app)Shift
/Ctrl
+Enter
returnsmodifiers::NONE
#669Cmd + Arrow Right
= Some gibberish events (IntelliJ IDEA Terminal) Badly handles Cmd + Arrow in IntelliJ Terminal #597ALT + [
= doesnt work.ALT + ]
Doesnt work.Ctrl+Backspace
= Missing modifier (iTerm2) macOS, backspace, and modifiers #575, Backspace with modifiers not recognised as backspace #504Alt+Backspace
= Missing modifier (iTerm2) macOS, backspace, and modifiers #575, Backspace with modifiers not recognised as backspace #504Shift + F3
Key Event not read (ubunutu) Shift + F3 Key Event not read. #513note: not all are solved
Note
Please do not create a separate issue for missing combinations, instead comment in this issue such that I can update the above list. The above list contains combinations that might have been fixed or missing combinations that are still to be fixed.
The text was updated successfully, but these errors were encountered: