Make index in closeOtherTabs and closeTabsAfter optional #10274

Closed
opened 2026-01-31 02:16:58 +00:00 by claunia · 3 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.
Author
Owner

@zadjii-msft commented on GitHub (Aug 25, 2020):

/dup #7181

@zadjii-msft commented on GitHub (Aug 25, 2020): /dup #7181
Author
Owner

@ghost commented on GitHub (Aug 25, 2020):

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!

@ghost commented on GitHub (Aug 25, 2020): 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!
Author
Owner

@carlos-zamora commented on GitHub (Aug 25, 2020):

of course it's a dup... Sorry!

@carlos-zamora commented on GitHub (Aug 25, 2020): of course it's a dup... Sorry!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10274