-
Notifications
You must be signed in to change notification settings - Fork 5
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
Some Alt keyboard shortcuts trigger escape key. #2
Comments
It seems this can be worked around with vty config, but fixing this properly will require a better keyboard protocol whether it is kitty keyboard protocol or something else. I will continue further discussion in an earlier issue on this repository. |
My attention came briefly here after the issue about terminal image protocol is closed. I'd like to summarize the situation here. I think it's safe to say that terminal input is broken at this point. There are keyboard protocols like kitty keyboard protocol, but terminal emulator authors don't agree that kitty keyboard protocol is good. For example, kitty keyboard protocol adds questionable things like Win key shortcuts. If there is actually a good keyboard protocol in the future, I think issues like these can be closed by implementing the protocol. I think the issue about terminal image protocol was closed because there is not yet a good standard for terminal images. I think the right approach for terminal image and terminal input is to wait for a good protocol to emerge. |
Am I right that you want a good standard rather than comparing various questionable ways of doing something which will be replaced by a standard later? |
@amano-kenji I have a similar view about terminal input; I don't know if it's broken but I do find it confusing. I wish a good standard existed, and it seems like there are some out there and people are making an effort, but unfortunately they are only valuable if they are widely-supported. Until then they are no better than not having a standard since we still have to be compatible with all of the old less-than-ideal ways of dealing with input. As for this ticket, though, I still want to get around to improving your situation. @kquick did some testing and found some results that might help, but I found them confusing and I haven't had time to take a closer look. I re-opened this because I think we can improve your situation by adding more sequence mappings to |
Ins
triggers escape key somehow.Alt+PageUp, Alt+PageDown, Alt+Home, and Alt+End all work fine in weechat to scroll the current buffer in alacrity and foot. In st, Alt+PageUp, Alt+PageDown, Alt+Home, and Alt+End are the same as PageUp, PageDown, Home, and End.
https://weechat.org/files/doc/stable/weechat_user.en.html#key_bindings_buffers challenges vty to step up its terminal game.
To generate scrollable contents in weechat, type /help, /help server, or any help topic.
I also discovered a peculiar behavior around Backspace and Ctrl+h.
^H
in alacritty, st, and foot.^?
in alacritty, st, and foot.^H
in alacritty, st, and foot.However,
EvKey KBS [MCtrl]
orEvKey (KChar 'h') [MCtrl]
is not triggered when I press Ctrl+h or Backspace or Ctrl+Backspace.EvKey KBS []
is triggered when I press Ctrl+h, Backspace, Ctrl+Backspace, Shift+Backspace, or Backspace with other modifers.The text was updated successfully, but these errors were encountered: