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

Option for app to quit on close window/s #103

Open
NicholasSloan opened this issue Nov 13, 2020 · 2 comments
Open

Option for app to quit on close window/s #103

NicholasSloan opened this issue Nov 13, 2020 · 2 comments

Comments

@NicholasSloan
Copy link

Enable preference (or hidden preference via Term) for app to quit on closure of last window.

@karbassi
Copy link
Collaborator

Thanks @NicholasSloan for the suggestion. We're trying to keep the app very simple. If others want this feature, we'll add it to the list of features.

Please vote by putting a thumbs up on the issue.

@karbassi
Copy link
Collaborator

For anyone that wants to take on the PR, the code to enable this feature is:

func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
    return true
}

inside the AppDelegate.swift

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

No branches or pull requests

2 participants