Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preview text and re-add missing enableReadOnlyMode docs #673

Merged
merged 2 commits into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions TerminalDocs/customize-settings/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,30 @@ 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" }
```
> [!IMPORTANT]
> This feature is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).

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" }
```
> [!IMPORTANT]
> This feature is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).

### 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
3 changes: 3 additions & 0 deletions TerminalDocs/customize-settings/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ Configures how the "close" button on the tab should appear. This accepts the fol
* `"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.

> [!IMPORTANT]
> The `"activeOnly"` value is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).

**Property name:** `showCloseButton`

**Necessity:** Optional
Expand Down
5 changes: 5 additions & 0 deletions TerminalDocs/panes.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ You can enable read-only mode on a pane. This works similarly to toggling, howev
{ "command": "enableReadOnlyMode" }
```

> [!IMPORTANT]
> This feature is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).

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`
Expand All @@ -244,6 +247,8 @@ You can disable read-only mode on a pane. This works similarly to toggling, howe
{ "command": "disableReadOnlyMode" }
```

> [!IMPORTANT]
> This feature is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).

## Customizing panes using key bindings

Expand Down