Skip to content

Commit

Permalink
Add documentation for closing tabs by index
Browse files Browse the repository at this point in the history
As implemented in microsoft/terminal#10447
  • Loading branch information
ianjoneill committed Jun 19, 2021
1 parent 5102a86 commit 4e8a350
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion TerminalDocs/customize-settings/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,16 @@ ___

### Close tab

This closes the current tab.
This closes the tab at a given index. If no index is provided, use the focused tab's index.

**Command name:** `closeTab`

#### Actions

| Name | Necessity | Accepts | Description |
| ---- | --------- | ------- | ----------- |
| `index` | Optional | Integer | Position of the tab to close. |

### Close all other tabs

This closes all tabs except for the one at an index. If no index is provided, use the focused tab's index.
Expand Down

0 comments on commit 4e8a350

Please sign in to comment.