Add command-line flag to open the given file/folder in a new window instead of tab #5910
Replies: 2 comments 3 replies
-
#2353 will let you do this the only other solution would be to be able to start a new instance of ghostty by adding |
Beta Was this translation helpful? Give feedback.
2 replies
-
I don't see why this should be blocked by a full-blown scripting API. This is just about passing a single command-line flag directly to the app. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On macOS, I can run this in the Terminal app:
To open the current folder in a new Ghostty tab.
However, it would be useful to also be able to force it to open in a new window.
I think it could be a new command-line flag, so this would work:
It obviously makes no sense to open from Terminal to Ghostty. That's just an example. My specific use-case is to support opening new Ghostty windows in my Supercharge app. Users have requested this.
Beta Was this translation helpful? Give feedback.
All reactions