add a setting to control show/hide terminal button for status bar (#10593)

Release Notes:

- Added a setting to show/hide the terminal button in the status bar:
`{"terminal": {"button": false}}` to hide it. (#10513)

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
This commit is contained in:
Hans 2024-04-16 15:40:32 +08:00 committed by GitHub
parent f3192b6fa6
commit 2cfb1ffa77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 22 additions and 2 deletions

View file

@ -908,6 +908,7 @@ These values take in the same options as the root-level settings with the same n
"font_features": null,
"font_size": null,
"option_as_meta": false,
"button": false
"shell": {},
"toolbar": {
"title": true
@ -1086,6 +1087,16 @@ See Buffer Font Features
At the moment, only the `title` option is available, it controls displaying of the terminal title that can be changed via `PROMPT_COMMAND`. If the title is hidden, the terminal toolbar is not displayed.
### Terminal Button
- Description: Control to show or hide the terminal button in the status bar
- Setting: `button`
- Default: `true`
**Options**
`boolean` values
### Working Directory
- Description: What working directory to use when launching the terminal.