exit doesn't reliably close the tab #7249

Open
opened 2026-01-31 00:59:02 +00:00 by claunia · 0 comments
Owner

Originally created by @randomascii on GitHub (Apr 1, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.720]
Windows Terminal version (if applicable): Version: 0.10.781.0

Steps to reproduce

Use terminal preview for a while, then type exit to close the current tab

Expected behavior

The tab closes. This happens sometimes, particularly on a recently opened tab that hasn't been used much

Actual behavior

A "process exited" message is printed but the tab remains.

c:\src>exit
[process exited with code 2]

I don't know what triggers this - I cannot repro it on demand. I'll watch for it.

Originally created by @randomascii on GitHub (Apr 1, 2020). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18363.720] Windows Terminal version (if applicable): Version: 0.10.781.0 ``` # Steps to reproduce Use terminal preview for a while, then type exit to close the current tab # Expected behavior The tab closes. This happens sometimes, particularly on a recently opened tab that hasn't been used much # Actual behavior A "process exited" message is printed but the tab remains. c:\src>exit [process exited with code 2] <!-- What's actually happening? --> I don't know what triggers this - I cannot repro it on demand. I'll watch for it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7249