Confirm or Prevent Last Tab Close #6427

Open
opened 2026-01-31 00:38:27 +00:00 by claunia · 0 comments
Owner

Originally created by @psylenced on GitHub (Feb 14, 2020).

Originally assigned to: @DHowett on GitHub.

Description of the new feature/enhancement

Sometimes when completing a session with multiple tabs open, a user may want to close everything but still keep a tab open.

There are two possible alternatives (when the option is true):

  1. When closing last tab, prevent it from closing.

  2. When closing last tab, present a confirm dialog.

When the option is false/default - last tab closes app as per current behaviour.

Proposed technical implementation details (optional)

Add confirmCloseLastTab or preventCloseLastTab to profile.json

Originally created by @psylenced on GitHub (Feb 14, 2020). Originally assigned to: @DHowett on GitHub. # Description of the new feature/enhancement Sometimes when completing a session with multiple tabs open, a user may want to close everything but still keep a tab open. There are two possible alternatives (when the option is true): 1) When closing last tab, prevent it from closing. 2) When closing last tab, present a confirm dialog. When the option is false/default - last tab closes app as per current behaviour. # Proposed technical implementation details (optional) Add `confirmCloseLastTab` or `preventCloseLastTab` to profile.json
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6427