You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
It seems like the window-save-state = default (on macOS) does not remember the position and size of a window on cmd-Q.
When quitting Ghostty, and restarting, the window is back on the center with the default size. The "default" behavior should be on cmd-Q that the position and size is restored. Similar as now when using window-save-state = always. But when using window-save-state = always also the latest pwd is restored. Similar like f.e. Safari. Restoring pwd is not what I want.
So how can I get Ghostty restoring the size and position, but not the pwd. Using working-directory = home does not work, because that's is overwritten by the always option.
Maybe an new option window-save-state = size-and-position is a solution?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
It seems like the
window-save-state = default
(on macOS) does not remember the position and size of a window oncmd-Q
.When quitting Ghostty, and restarting, the window is back on the center with the default size. The "default" behavior should be on
cmd-Q
that the position and size is restored. Similar as now when usingwindow-save-state = always
. But when usingwindow-save-state = always
also the latestpwd
is restored. Similar like f.e. Safari. Restoringpwd
is not what I want.So how can I get Ghostty restoring the size and position, but not the
pwd
. Usingworking-directory = home
does not work, because that's is overwritten by thealways
option.Maybe an new option
window-save-state = size-and-position
is a solution?== Feek
Beta Was this translation helpful? Give feedback.
All reactions