-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Visual Error - shortcut CTRL+SHIFT+[dash,equals] #7325
Comments
Could you share the actual json you've added for these keybindings? |
The relevant lines below; the shortcut themselves do work and I can open the tab/profiles with them fine.
|
It looks like we only actually do this for the first 9 profiles: terminal/src/cascadia/TerminalApp/TerminalPage.cpp Lines 465 to 468 in 93d2669
This is probably because we had 9 hardcoded "switch to tab" commands and it was not possible to add a custom index when we first wrote this code 😄 |
Ho boy would you look at that. Yep, we should fix that |
Just noticed - for some reason there seems to be some bug in the shortcut handling - with the JSON snippet above; CTRL+SHIFT+9 works. So does CTRL+SHIFT+[dash]. But the one in the middle CTRL+SHIFT+0 oddly does nothing. So there is two bugs, the OP with [dash] [equals] shortcuts not appears and additionally the sequence CTRL+SHIFT+0 not being handled. |
If you have multiple keyboard layouts enabled, Ctrl+Shift+0 is reserved by Windows as a keyboard layout switch command. |
If you mean multiple languages - no I don't have anything like that installed. Not sure what other layouts you could mean but happy to look into if you give me a pointer on where to check the windows setting. Anyway; if you are sure this is not a bug and expected behaviour due to windows outside; then can ignore. |
🎉This issue was addressed in #7344, which has now been successfully released as Handy links: |
🎉This issue was addressed in #7344, which has now been successfully released as Handy links: |
Environment
Steps to reproduce
settings.json
extend additional shortcuts from the existing 1 to 9 for 0, - (dash), and = (equals) so that CTRL+SHIFT+[key] opens respective profileExpected behavior
In the menu for opening a tab/profile, the shortcut for extended shortcuts should appear as logically expected
Actual behavior
In the menu for opening a tab/profile, the shortcut newly defined 0 is appear next to relevant profile but the shortcut for dash and equals do not appear.
The text was updated successfully, but these errors were encountered: