Skip to content

Commit

Permalink
Document 'activeOnly' value for 'showCloseButton' property. (#660)
Browse files Browse the repository at this point in the history
* Shelfing read-only mode docs until it goes in a future release (#653)

* Added maximum history size (#657)

* added maximum history size

* empty commit to poke the bot

* Document 'activeOnly' value for 'showCloseButton' property.

---------

Co-authored-by: Christopher Nguyen <[email protected]>
  • Loading branch information
kovdu and nguyen-dows authored May 16, 2023
1 parent 0c71ed8 commit 6e17534
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
24 changes: 2 additions & 22 deletions TerminalDocs/customize-settings/actions.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Windows Terminal Actions
description: Learn how to create custom actions for Windows Terminal.
author: cinnamon-msft
ms.author: cinnamon
author: nguyen-dows
ms.author: chrnguyen
ms.date: 03/31/2023
ms.topic: how-to
---
Expand Down Expand Up @@ -858,26 +858,6 @@ You can mark a pane as read-only, which will prevent input from going into the t
{ "command": "toggleReadOnlyMode" }
```

You can enable read-only mode on a pane. This works similarly to toggling, however, will not switch state if triggered again.

**Command name:** `enableReadOnlyMode`

**Default bindings:**

```json
{ "command": "enableReadOnlyMode" }
```

You can disable read-only mode on a pane. This works similarly to toggling, however, will not switch state if triggered again.

**Command name:** `disableReadOnlyMode`

**Default bindings:**

```json
{ "command": "disableReadOnlyMode" }
```

### Split a pane

This halves the size of the active pane and opens another. Without any arguments, this will open the default profile in the new pane. If an action is not specified, the default profile's equivalent setting will be used.
Expand Down
8 changes: 4 additions & 4 deletions TerminalDocs/customize-settings/profile-advanced.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: Windows Terminal Advanced Profile Settings
description: Learn how to customize the advanced profile settings within Windows Terminal.
author: cinnamon-msft
ms.author: cinnamon
ms.date: 07/06/2022
author: nguyen-dows
ms.author: chrnguyen
ms.date: 04/13/2022
ms.topic: how-to
---

Expand Down Expand Up @@ -88,7 +88,7 @@ ___

## History size

This sets the number of lines above the ones displayed in the window you can scroll back to.
This sets the number of lines above the ones displayed in the window you can scroll back to. The maximum history size is `32767`.

**Property name:** `historySize`

Expand Down
3 changes: 2 additions & 1 deletion TerminalDocs/customize-settings/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,13 @@ Configures how the "close" button on the tab should appear. This accepts the fol
* `"always"`: Always show tab close buttons.
* `"hover"`: Show the tab close button on the active tab, and any tabs that are hovered with the mouse.
* `"never"`: Never show tab close buttons. This also disables the ability to close the tab with the middle mouse button.
* `"activeOnly"`: Show the tab close button on the active tab only.

**Property name:** `showCloseButton`

**Necessity:** Optional

**Accepts:** `"always"`, `"hover"`, `"never"`
**Accepts:** `"always"`, `"hover"`, `"never"`, `"activeOnly"`

**Default value:** `"always"`

Expand Down

0 comments on commit 6e17534

Please sign in to comment.