We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ade90 commit 6cd4223Copy full SHA for 6cd4223
packages/terminal/src/browser/terminal-frontend-contribution.ts
@@ -542,7 +542,9 @@ export class TerminalFrontendContribution implements FrontendApplicationContribu
542
execute: () => this.openActiveWorkspaceTerminal()
543
});
544
commands.registerCommand(TerminalCommands.SPLIT, {
545
- execute: () => this.splitTerminal()
+ execute: () => this.splitTerminal(),
546
+ isEnabled: () => this.shell.currentWidget instanceof TerminalWidget,
547
+ isVisible: () => this.shell.currentWidget instanceof TerminalWidget,
548
549
commands.registerCommand(TerminalCommands.TERMINAL_CLEAR);
550
commands.registerHandler(TerminalCommands.TERMINAL_CLEAR.id, {
0 commit comments