mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
fix the comment (quick-terminal-space-behavior)
This commit is contained in:

committed by
Mitchell Hashimoto

parent
7bb3c31cee
commit
0ddc1a21a6
@ -26,10 +26,10 @@ enum QuickTerminalSpaceBehavior {
|
|||||||
|
|
||||||
switch (self) {
|
switch (self) {
|
||||||
case .move:
|
case .move:
|
||||||
// We want this to be part of every space because it is a singleton.
|
// We want this to move the window to the active space.
|
||||||
return NSWindow.CollectionBehavior([.canJoinAllSpaces] + commonBehavior)
|
return NSWindow.CollectionBehavior([.canJoinAllSpaces] + commonBehavior)
|
||||||
case .remain:
|
case .remain:
|
||||||
// We want this to move the window to the active space.
|
// We want this to remain the window in the current space.
|
||||||
return NSWindow.CollectionBehavior([.moveToActiveSpace] + commonBehavior)
|
return NSWindow.CollectionBehavior([.moveToActiveSpace] + commonBehavior)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1568,11 +1568,10 @@ keybind: Keybinds = .{},
|
|||||||
@"quick-terminal-autohide": bool = true,
|
@"quick-terminal-autohide": bool = true,
|
||||||
|
|
||||||
/// This configuration option determines the behavior of the quick terminal
|
/// This configuration option determines the behavior of the quick terminal
|
||||||
/// when switching between spaces. If set to `move`, the quick terminal
|
/// when switching between spaces. If set to `move`, the quick terminal will
|
||||||
/// will stay only in the space where it was originally opened and will not
|
/// be moved to the space where the focused window is. If set to `remain`,
|
||||||
/// follow when switching to another space. If set to `remain`, the quick terminal
|
/// the quick terminal will stay only in the space where it was originally opened and
|
||||||
/// will remain open and visible across all spaces, including after moving to
|
/// will not follow when switching to another space.
|
||||||
/// a different space.
|
|
||||||
@"quick-terminal-space-behavior": QuickTerminalSpaceBehavior = .move,
|
@"quick-terminal-space-behavior": QuickTerminalSpaceBehavior = .move,
|
||||||
|
|
||||||
/// Whether to enable shell integration auto-injection or not. Shell integration
|
/// Whether to enable shell integration auto-injection or not. Shell integration
|
||||||
|
Reference in New Issue
Block a user