File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/vs/workbench/contrib/chat/browser/actions Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -336,9 +336,8 @@ export function registerChatCodeBlockActions() {
336
336
337
337
let terminal = await terminalService . getActiveOrCreateInstance ( ) ;
338
338
339
- // Why does getActiveOrCreateInstance return a disposed terminal? #180018
340
- // isFeatureTerminal = debug terminal
341
- const unusableTerminal = terminal . isDisposed || terminal . xterm ?. isStdinDisabled || terminal . shellLaunchConfig . isFeatureTerminal ;
339
+ // isFeatureTerminal = debug terminal or task terminal
340
+ const unusableTerminal = terminal . xterm ?. isStdinDisabled || terminal . shellLaunchConfig . isFeatureTerminal ;
342
341
terminal = unusableTerminal ? await terminalService . createTerminal ( ) : terminal ;
343
342
344
343
terminalService . setActiveInstance ( terminal ) ;
You can’t perform that action at this time.
0 commit comments