Document terminal.cursor_shape (#34707)

Release Notes:

- N/A
This commit is contained in:
Peter Tripp 2025-07-18 09:35:36 -04:00 committed by GitHub
parent 1070de47ec
commit fd8480a9dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 49 additions and 1 deletions

View file

@ -2698,6 +2698,54 @@ List of `integer` column numbers
}
```
### Terminal: Cursor Shape
- Description: Whether or not selecting text in the terminal will automatically copy to the system clipboard.
- Setting: `cursor_shape`
- Default: `null` (defaults to block)
**Options**
1. A block that surrounds the following character
```json
{
"terminal": {
"cursor_shape": "block"
}
}
```
2. A vertical bar
```json
{
"terminal": {
"cursor_shape": "bar"
}
}
```
3. An underline / underscore that runs along the following character
```json
{
"terminal": {
"cursor_shape": "underline"
}
}
```
4. A box drawn around the following character
```json
{
"terminal": {
"cursor_shape": "hollow"
}
}
```
### Terminal: Keep Selection On Copy
- Description: Whether or not to keep the selection in the terminal after copying text.

View file

@ -448,7 +448,7 @@ See [Zed AI Documentation](./ai/overview.md) for additional non-visual AI settin
// Set the cursor blinking behavior in the terminal (on, off, terminal_controlled)
"blinking": "terminal_controlled",
// Default cursor shape for the terminal (block, bar, underline, hollow)
// Default cursor shape for the terminal cursor (block, bar, underline, hollow)
"cursor_shape": "block",
// Environment variables to add to terminal's process environment