Make index in closeOtherTabs and closeTabsAfter optional #10271

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

Originally created by @carlos-zamora on GitHub (Aug 25, 2020).

Description of the new feature/enhancement

closeOtherTabs and closeTabsAfter both require index as an action argument.

It'd be neat if we could make index optional. And if it is not defined, we just use the currently focused tab's index.

We should probably be sure to update GenerateName() appropriately for when there is no index provided.

Originally created by @carlos-zamora on GitHub (Aug 25, 2020). # Description of the new feature/enhancement `closeOtherTabs` and `closeTabsAfter` both require `index` as an action argument. It'd be neat if we could make `index` optional. And if it is not defined, we just use the currently focused tab's index. We should probably be sure to update GenerateName() appropriately for when there is no index provided.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10271