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:
parent
f3192b6fa6
commit
2cfb1ffa77
4 changed files with 22 additions and 2 deletions
|
@ -36,6 +36,7 @@ pub struct TerminalSettings {
|
|||
pub alternate_scroll: AlternateScroll,
|
||||
pub option_as_meta: bool,
|
||||
pub copy_on_select: bool,
|
||||
pub button: bool,
|
||||
pub dock: TerminalDockPosition,
|
||||
pub default_width: Pixels,
|
||||
pub default_height: Pixels,
|
||||
|
@ -138,6 +139,10 @@ pub struct TerminalSettingsContent {
|
|||
///
|
||||
/// Default: false
|
||||
pub copy_on_select: Option<bool>,
|
||||
/// Whether to show the terminal button in the status bar.
|
||||
///
|
||||
/// Default: true
|
||||
pub button: Option<bool>,
|
||||
pub dock: Option<TerminalDockPosition>,
|
||||
/// Default width when the terminal is docked to the left or right.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue