-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
commandPalette
keybinding should close the palette when it's open
#6679
Labels
Area-CmdPal
Command Palette issues and features
Area-UserInterface
Issues pertaining to the user interface of the Console or Terminal
Issue-Task
It's a feature request, but it doesn't really need a major design.
Priority-2
A description (P2)
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Milestone
Comments
ghost
added
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Needs-Tag-Fix
Doesn't match tag requirements
labels
Jun 25, 2020
zadjii-msft
added
Area-UserInterface
Issues pertaining to the user interface of the Console or Terminal
Issue-Task
It's a feature request, but it doesn't really need a major design.
Product-Terminal
The new Windows Terminal.
labels
Jun 25, 2020
This was referenced Jun 25, 2020
DHowett
removed
the
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
label
Jun 25, 2020
This was referenced Dec 2, 2020
ghost
added
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
and removed
In-PR
This issue has a related PR
labels
Dec 14, 2020
ghost
pushed a commit
that referenced
this issue
Dec 14, 2020
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request It is maybe not the best way since I had to get all the cases for key handling so I just created for each of them. As a result the code get longer(not optimized). Most difficult thing was Next tab and Previous tab I just could not solve it. ### 9 commands that couldn't enabled > < 1. Increase font size -> could not find VirtualKey for "-" 2. Decrease font size -> could not find VirtualKey for "+" 3. Split pane, split:horizontal -> could not find VirtualKey for "-" 4. Split pane, split:vertical -> could not find VirtualKey for "+" 5. Open default settings -> could not find VirtualKey for "," 6. Open settings file -> could not find VirtualKey for "," 7. Open new tab dropdown -> could not resolve keybindings 8. Next tab -> could not resolve keybindings 9. Previous tab -> could not resolve keybindings <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #6679 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
Reopened -- reverted PR |
ghost
mentioned this issue
Dec 14, 2020
ghost
added
In-PR
This issue has a related PR
and removed
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
labels
Dec 14, 2020
ghost
added
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
and removed
In-PR
This issue has a related PR
labels
Dec 18, 2020
ghost
pushed a commit
that referenced
this issue
Dec 18, 2020
This commit introduces direct shortcut dispatch to TerminalPage, which allows it to respond to key bindings before the command palette. This allows the user to use shortcuts from the command palette while it's open. Closes #6679
mpela81
pushed a commit
to mpela81/terminal
that referenced
this issue
Jan 28, 2021
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request It is maybe not the best way since I had to get all the cases for key handling so I just created for each of them. As a result the code get longer(not optimized). Most difficult thing was Next tab and Previous tab I just could not solve it. ### 9 commands that couldn't enabled > < 1. Increase font size -> could not find VirtualKey for "-" 2. Decrease font size -> could not find VirtualKey for "+" 3. Split pane, split:horizontal -> could not find VirtualKey for "-" 4. Split pane, split:vertical -> could not find VirtualKey for "+" 5. Open default settings -> could not find VirtualKey for "," 6. Open settings file -> could not find VirtualKey for "," 7. Open new tab dropdown -> could not resolve keybindings 8. Next tab -> could not resolve keybindings 9. Previous tab -> could not resolve keybindings <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes microsoft#6679 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
mpela81
pushed a commit
to mpela81/terminal
that referenced
this issue
Jan 28, 2021
This commit introduces direct shortcut dispatch to TerminalPage, which allows it to respond to key bindings before the command palette. This allows the user to use shortcuts from the command palette while it's open. Closes microsoft#6679
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area-CmdPal
Command Palette issues and features
Area-UserInterface
Issues pertaining to the user interface of the Console or Terminal
Issue-Task
It's a feature request, but it doesn't really need a major design.
Priority-2
A description (P2)
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
This is being moved from discussion in #6635.
We wanted to enable the
commandPalette
keybinding to also work within the palette itself.carlos-zamora
DHowett
zadjii-msft
The text was updated successfully, but these errors were encountered: