open -na Ghostty duplicates all tabs instead of opening one empty tab
#9612
Unanswered
Elijas
asked this question in
Feature Requests, Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Current behavior: When running
open -na Ghosttyon macOS, it opens a new window that contains ALL tabs from my previous session (essentially duplicating the entire tab state).Expected behavior: It should open a new window with just ONE empty tab, not restore all previous tabs.
Steps to reproduce:
open -na Ghosttyfrom terminal or via keyboard shortcutContext:
Even if creating a new instance is the intended behavior of
-n, the new instance shouldn't duplicate the full tab state. For comparison, when using Cmd+N within Ghostty, it correctly opens just one new tab in a new window. Theopen -nacommand should behave similarly.Use case:
I'm using this to spawn isolated AI agent sessions (Claude Code) that need to run independently:
Environment:
1.2.3macOS 26.0.1 (Build 25A362)Question:
Is this the intended behavior, or should this be filed as a bug? I've checked #2353, #3563, #7867, #8193, #3563, and #3445 - none cover this specific tab duplication issue.
Beta Was this translation helpful? Give feedback.
All reactions