-
Notifications
You must be signed in to change notification settings - Fork 31k
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
Select All keyboard shortcut does not work in integrated terminal find widget #29793
Comments
@mjbvz I'm assuming this is an OS X only issue - Windows works and I reproduced the issue on OS X I don't see any comments on Linux |
Yes this one's OSX only and it's related to the context keys (or lack of context keys) used in the keybinding, feel free to look for a different one as OSX is a hassle to setup for you. |
@Tyriar |
It's happening because of this default keybinding on macOS: { "key": "cmd+a", "command": "workbench.action.terminal.selectAll",
"when": "terminalFocus" }, Which is defined here: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/terminal/electron-browser/terminal.contribution.ts#L245 Currently the terminal has 2 context keys:
So what's happening is that the keybinding system sees that the I suggest looking into how this works in the editor, we want a context key setup as that since it's tried and tested. |
@Tyriar |
@Tyriar master...cleidigh:terminal-mac-selectall/bug Changes and issue summary:
BTW I looked at your cleanup changes for the terminal Queue Cheers |
@Tyriar |
@cleidigh a bunch of team members actually jumped on terminal issues on Monday so a lot of the easier ones are taken 😛 Here's the backlog: https://github.com/Microsoft/vscode/issues?q=is%3Aopen+label%3Aintegrated-terminal+label%3A%22help+wanted%22 There's a bunch of issues in the upstream project too if you're interested in contributing there https://github.com/sourcelair/xterm.js/issues |
Thanks @cleidigh |
Testing #29479
Steps to Reproduce:
Bug
The contents of the terminal are selected instead of the contents of the find widget input box. This is different than how the editor find widget works
The text was updated successfully, but these errors were encountered: