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.
2 parents adbcbfa + 66d010b commit 222a960Copy full SHA for 222a960
src/vs/workbench/contrib/terminal/browser/terminalService.ts
@@ -506,8 +506,7 @@ export class TerminalService implements ITerminalService {
506
return this.createTerminal();
507
}
508
// Active instance, ensure accepts input
509
- // Don't use task terminals or other terminals that don't accept input
510
- if (!options?.acceptsInput || activeInstance?.shellLaunchConfig.type !== 'Task' && activeInstance.xterm?.isStdinDisabled !== true) {
+ if (!options?.acceptsInput || activeInstance.xterm?.isStdinDisabled !== true) {
511
return activeInstance;
512
513
// Active instance doesn't accept input, create and focus
0 commit comments