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

Vomnibar: fix a bug preventing ctrl-enter from working #3881

Merged
merged 1 commit into from
May 22, 2022

Conversation

gdh1995
Copy link
Contributor

@gdh1995 gdh1995 commented Aug 7, 2021

Chrome may assign "\n" as the key property of an Enter key,
which made Ctrl+Enter not work as expected.

This helps commit 2268e49 (see #2914) work well on Windows, and may help #3880

Chrome may assign `"\n"` as the `key` property of an `Enter` key,
which made `Ctrl+Enter` not work as expected.
@philc
Copy link
Owner

philc commented May 22, 2022

I didn't test this on Windows, but it doesn't break OSX. Thanks @gdh1995

@philc philc merged commit 7a9fc8d into philc:master May 22, 2022
@gdh1995
Copy link
Contributor Author

gdh1995 commented May 22, 2022

Added: Here's my test on Chrome 98 and Win11:

image

@gdh1995 gdh1995 deleted the fix-keypress-ctrl-enter branch May 22, 2022 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants