Skip to content
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

Don't report associated text only for C0/C1 #7658

Merged
merged 2 commits into from
Jan 27, 2024

Conversation

kchibisov
Copy link
Member

This has a side effect that we'll have text reported for Alt+Shift+T and similar, but only C0/C1 should be excluded and Alt+Shift+T is emitting neither, thus regular T will be reported.

Fixes #7657.

--

@rockorager

Copy link
Member

@chrisduerr chrisduerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What motivated you to change this considering the following statement:

There's no wording saying that I can't do so and I don't see why I shouldn't. libxkbcommon explicitly tells me that I have text, thus, I send text.

alacritty/src/input/keyboard.rs Outdated Show resolved Hide resolved
alacritty/src/input/keyboard.rs Outdated Show resolved Hide resolved
alacritty/src/input/keyboard.rs Outdated Show resolved Hide resolved
@kchibisov
Copy link
Member Author

What motivated you to change this considering the following statement:

kovidgoyal/kitty@90e1ba7

alacritty/src/input/keyboard.rs Outdated Show resolved Hide resolved
alacritty/src/input/keyboard.rs Outdated Show resolved Hide resolved
@kchibisov
Copy link
Member Author

Don't squash this branch when merging.

This has a side effect that we'll have text reported for Alt+Shift+T
and similar, but only C0/C1 should be excluded and Alt+Shift+T is
emitting neither, thus regular `T` will be reported.

Fixes alacritty#7657.
@kchibisov kchibisov merged commit 7c046f5 into alacritty:master Jan 27, 2024
5 checks passed
@kchibisov kchibisov deleted the adjust-assoc-text-impl branch January 27, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

kitty keyboard encoding reports associated text with some control characters
2 participants