Clarify config documentation around not creating an initial window

This commit is contained in:
Isaac Mills
2024-11-25 18:59:45 -07:00
parent 7368e063ca
commit 43f8b76fc7
2 changed files with 1164 additions and 0 deletions

1158
src/apprt/sdl.zig Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1319,6 +1319,12 @@ keybind: Keybinds = .{},
/// Only implemented on Linux. /// Only implemented on Linux.
@"quit-after-last-window-closed-delay": ?Duration = null, @"quit-after-last-window-closed-delay": ?Duration = null,
/// *PASS THIS AS A COMMAND LINE ARGUMENT, NOT A CONFIG FILE VALUE*
///
/// When this value is false, ghostty will both not create an initial window
/// *and* not send the signal to create a new window in a single-instance.
/// session
///
/// This controls whether an initial window is created when Ghostty /// This controls whether an initial window is created when Ghostty
/// is run. Note that if `quit-after-last-window-closed` is `true` and /// is run. Note that if `quit-after-last-window-closed` is `true` and
/// `quit-after-last-window-closed-delay` is set, setting `initial-window` to /// `quit-after-last-window-closed-delay` is set, setting `initial-window` to