Add command-line flag to open the given file/folder in a new window instead of tab #5910
-
|
On macOS, I can run this in the Terminal app: open -a 'Ghostty' .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: open -a 'Ghostty' . --args --new-windowIt 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.
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.
-
|
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.
#2353 will let you do this the only other solution would be to be able to start a new instance of ghostty by adding
-nto your open command