-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
exit command doesn't close the window\tab #5040
Comments
Alas, this is a behavior that's highly conserved across multiple shells and terminal emulators on most mainstream operating systems; more info in #4223 (comment). If you'd rather it just exit every time, set |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
ok, but I already have |
@fcingolani88 would you mind sharing a copy of your profiles.json file? |
Sure, here you are |
Oh, thanks! I realized my guidance is incorrect. When we changed how You'll need to set it to As an aside, it looks like you're using a very old version of our settings file. If you're willing to change it, now would be a great time to start over as described in Scott Hanselman's blog. If you're using older settings like those that bind Ctrl+T and Ctrl+W to new and close tab, you might need to update your new settings file with those options. Otherwise, it's a much better experience. 😄 |
Perfect!! |
Windows build number: 10.0.18363.720
Windows Terminal version (if applicable): 0.10.761.0
Steps to reproduce
Type "EXIT" command after the shell reports an error about the previous command
Expected behavior
The window\tab should be closed
Actual behavior
The window\tab stays open and I can't type anything. The exit code displayed changes on different cases, maybe is related to the error reported before.
Note that this seems to happen only when the previous command terminates with an error; if the previous command is performed correctly, the EXIT command will work as expected.
Thanks
The text was updated successfully, but these errors were encountered: