Visitar URL original
Escape key can not be used to close panel when in terminal · Issue #2561 · github/VisualStudio · GitHub
The Wayback Machine - https://web.archive.org/web/20201215055925/https://github.com/github/VisualStudio/issues/2561
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

Escape key can not be used to close panel when in terminal #2561

Closed
safield opened this issue Oct 23, 2020 · 1 comment
Closed

Escape key can not be used to close panel when in terminal #2561

safield opened this issue Oct 23, 2020 · 1 comment

Comments

@safield
Copy link

@safield safield commented Oct 23, 2020 •

VSCode: 1.50.1
OS: Kubuntu 20.04

I have a set of key mappings that allow me to use escape to close the bottom panel.

These keymappings work in all cases, except for when the terminal is in focus in the bottom panel. For example, if the Problems tab is the tab in focus in the bottom panel, hitting escape key will successfully close the terminal. If the terminal tab is selected, nothing will happen.

    { "key": "escape", "command": "workbench.action.terminal.toggleTerminal", "when": "activePanel == 'workbench.panel.terminal'" },// this one doesn't work
    { "key": "escape", "command": "workbench.action.closePanel", "when": "activePanel == 'workbench.panel.terminal'" },//and this one doesnt work
    { "key": "escape", "command": "workbench.action.closePanel", "when": "activePanel == 'workbench.panel.markers'" },
    { "key": "escape", "command": "workbench.action.closePanel", "when": "activePanel == 'workbench.panel.output'" },
    { "key": "escape", "command": "workbench.action.closePanel", "when": "activePanel == 'workbench.panel.repl'" },
    { "key": "escape", "command": "workbench.action.closePanel", "when": "activePanel == 'workbench.panel.comments'" },
@safield
Copy link
Author

@safield safield commented Dec 9, 2020

Wrong repo.

@safield safield closed this Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.