Add quick-terminal-space-behavior option

This commit is contained in:
Soh Satoh
2024-12-31 21:55:03 +09:00
committed by Mitchell Hashimoto
parent 2206c509be
commit e2523c25cb
5 changed files with 106 additions and 2 deletions

View File

@@ -1567,6 +1567,14 @@ keybind: Keybinds = .{},
/// Set it to false for the quick terminal to remain open even when it loses focus.
@"quick-terminal-autohide": bool = true,
/// This configuration option determines the behavior of the quick terminal
/// when switching between spaces. If set to `move`, the quick terminal
/// will stay only in the space where it was originally opened and will not
/// follow when switching to another space. If set to `remain`, the quick terminal
/// will remain open and visible across all spaces, including after moving to
/// a different space.
@"quick-terminal-space-behavior": QuickTerminalSpaceBehavior = .move,
/// Whether to enable shell integration auto-injection or not. Shell integration
/// greatly enhances the terminal experience by enabling a number of features:
///
@@ -5695,6 +5703,12 @@ pub const QuickTerminalScreen = enum {
@"macos-menu-bar",
};
// See quick-terminal-space-behavior
pub const QuickTerminalSpaceBehavior = enum {
remain,
move,
};
/// See grapheme-width-method
pub const GraphemeWidthMethod = enum {
legacy,