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

Fix behavior of terminal.integrated.confirmOnExit #240074

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dmotte
Copy link

@dmotte dmotte commented Feb 8, 2025

First of all, thank you so much for providing this fantastic editor 🙂 I use it basically every day and it's amazing. Thank you all guys, and keep up the good work!

This PR fixes #235575.

Note that recently there was another PR (#236588) that was supposed to fix it, but actually it didn't, because now we have this:

image_2025-02-08_14-40-11

The current PR should definitely fix this issue and avoid showing that popup message if there are no foreground terminals opened.

How to test the changes

You can just try to open a Python project in a VSCode editor with the Python extension installed. That extension spawns background terminals, and those currently trigger the popup message of the screenshot I put above. With my changes, that shouldn't happen anymore.

@dmotte
Copy link
Author

dmotte commented Feb 8, 2025

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Do you want to terminate the active terminal session?" on close for background terminals
2 participants