-
Notifications
You must be signed in to change notification settings - Fork 775
-
Notifications
You must be signed in to change notification settings - Fork 775
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
"Alt Gr" + ] generate "esc" instead "]" on french keyboard on Windows. #1126
Labels
bug
Something isn't working
Comments
aymanbagabas
added a commit
that referenced
this issue
Sep 19, 2024
On Windows, some keyboard layouts have an AltGr button that's similar to the Mac options button and can be used to send characters. This PR respects the AltGr button and treat its characters as bubbletea key runes. Fixes: #1126
aymanbagabas
added a commit
that referenced
this issue
Sep 19, 2024
On Windows, some keyboard layouts have an AltGr button that's similar to the Mac options button and can be used to send characters. This PR respects the AltGr button and treat its characters as bubbletea key runes. Fixes: #1126
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I use french keyboard. When I try to type this caracter "]", in french keyboard I need to do "Alt Gr" + ].
But in input bubbletea this keys generate "esc" instead "]".
I had tried with full new Windows 11 installation but the problem is same. No problem in Linux.
Setup
Please complete the following information along with version numbers, if applicable.
To Reproduce
Steps to reproduce the behavior:
Run this code:
https://github.com/charmbracelet/bubbletea/blob/main/examples/textinput/main.go
And try to do a "]" in input.
Source Code
https://github.com/charmbracelet/bubbletea/blob/main/examples/textinput/main.go
Screenshots
The text was updated successfully, but these errors were encountered: