The info bar shows up on nonzero exit codes even with "closeOnExit": "always" #15687

Open
opened 2026-01-31 04:45:36 +00:00 by claunia · 1 comment
Owner

Originally created by @zadjii-msft on GitHub (Oct 25, 2021).

From @KalleOlaviNiemitalo in https://github.com/microsoft/terminal/issues/10798#issuecomment-950857104

infobar-on-closeonexit-always

This might just go away if we do #11607 first, but it might not. Tracking this separately regardless

Originally created by @zadjii-msft on GitHub (Oct 25, 2021). _From @KalleOlaviNiemitalo in https://github.com/microsoft/terminal/issues/10798#issuecomment-950857104_ ![infobar-on-closeonexit-always](https://user-images.githubusercontent.com/18356694/138726802-1c830939-d587-444b-b54d-ce5d27355d9d.gif) This might just go away if we do #11607 first, but it might not. Tracking this separately regardless
Author
Owner

@elsaco commented on GitHub (Oct 25, 2021):

This is what was observed on my desktop:

  1. with only one tab opened and "closeOnExit": "always" the tab/window just disappears without the message. With more tabs opened the "Don't show again" message appears.

  2. when "closeOnExit" is set it does not add "closeOnExitInfo" to "dismissedMessages" in state.json.

  3. with both options set to "closeOnExit": "always" and "dismissedMessages": "closeOnExitInfo" when using multiple tabs the message doesn't show up anymore.

This was tested with WT ver. 1.12.2931.0.

@elsaco commented on GitHub (Oct 25, 2021): This is what was observed on my desktop: 1. with only one tab opened and "closeOnExit": "always" the tab/window just disappears without the message. With more tabs opened the "Don't show again" message appears. 2. when "closeOnExit" is set it does not add "closeOnExitInfo" to "dismissedMessages" in state.json. 3. with both options set to "closeOnExit": "always" and "dismissedMessages": "closeOnExitInfo" when using multiple tabs the message doesn't show up anymore. This was tested with WT ver. 1.12.2931.0.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15687