Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember last focused window position for next startup #5529

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

liby
Copy link
Contributor

@liby liby commented Feb 2, 2025

Implements window position persistence on macOS, similar to Terminal.app and iTerm2. The window position is saved when it becomes main or moves, and restored on next startup. Window position is kept within visible screen bounds.

cc @jsumners - Would you mind giving it a try? Any feedback would be appreciated!

Resolves #4233

@jsumners
Copy link

jsumners commented Feb 2, 2025

Is it available in some sort of nightly build?

@jcollie
Copy link
Collaborator

jcollie commented Feb 2, 2025

Is it available in some sort of nightly build?

You'll need to build from source with this PR applied to test this out.

@jsumners
Copy link

jsumners commented Feb 3, 2025

I'd be up for giving it a whirl if I could download a binary from this project's CI. I suspect setting up a Zig environment isn't too burdensome, but I don't currently have one and have other things to focus on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macOS: Remember last focused window location for next startup
3 participants