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

Don't run chat codeblocks in task terminals #180552

Merged
merged 1 commit into from
Apr 21, 2023
Merged

Conversation

roblourens
Copy link
Member

No description provided.

@roblourens roblourens enabled auto-merge (squash) April 21, 2023 17:27
@VSCodeTriageBot VSCodeTriageBot added this to the April 2023 milestone Apr 21, 2023
@roblourens roblourens merged commit 6bef4cd into main Apr 21, 2023
@roblourens roblourens deleted the roblou/concerned-gopher branch April 21, 2023 17:43
terminal = terminal.isDisposed ? await terminalService.createTerminal() : terminal;
// Why does getActiveOrCreateInstance return a disposed terminal? #180018
// isFeatureTerminal = debug terminal
const unusableTerminal = terminal.isDisposed || terminal.xterm?.isStdinDisabled || terminal.shellLaunchConfig.type === 'Task' || terminal.shellLaunchConfig.isFeatureTerminal;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isFeatureTerminal is meant to always be true when type is task

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, will remove the redundant check

@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants