mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-16 14:56:10 +00:00
config: if window-save-state is never, never restore state
This commit is contained in:
@@ -575,9 +575,14 @@ keybind: Keybinds = .{},
|
||||
/// - "never" will never save window state.
|
||||
/// - "always" will always save window state whenever Ghostty is exited.
|
||||
///
|
||||
/// If you change this value so that window state is NOT saved while
|
||||
/// window state is already saved, the next Ghostty launch will NOT restore
|
||||
/// the window state.
|
||||
/// If you change this value to "never" while Ghostty is not running,
|
||||
/// the next Ghostty launch will NOT restore the window state.
|
||||
///
|
||||
/// If you change this value to "default" while Ghostty is not running
|
||||
/// and the previous exit saved state, the next Ghostty launch will
|
||||
/// still restore the window state. This is because Ghostty cannot know
|
||||
/// if the previous exit was due to a forced save or not (macOS doesn't
|
||||
/// provide this information).
|
||||
///
|
||||
/// If you change this value so that window state is saved while Ghostty
|
||||
/// is not running, the previous window state will not be restored because
|
||||
|
Reference in New Issue
Block a user