mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-15 22:36:14 +00:00
Add quick-terminal-space-behavior option
This commit is contained in:

committed by
Mitchell Hashimoto

parent
2206c509be
commit
e2523c25cb
@@ -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,
|
||||
|
Reference in New Issue
Block a user