We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've checked the API, does not found a method that close a window.
The text was updated successfully, but these errors were encountered:
Seems you are right, maybe you're the first one to need this feature 😄. But it does seem like a feature that should be present in the API.
For now you could either rely on win.app().terminate(), or, if that's too heavy-handed:
win.app().terminate()
Task.run('/usr/bin/osascript', [ '-e', `tell app "${win.app().name()}" to close front window`, ]);
Sorry, something went wrong.
I guess Cmd + W works for most. 😂 I’ll add it to the list.
Cmd + W
Add support for closing windows (#184)
af203e8
Implemented in master.
kasper
No branches or pull requests
I've checked the API, does not found a method that close a window.
The text was updated successfully, but these errors were encountered: