Documentation ¶ Index ¶ func OpenTab(workDir, command string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func OpenTab ¶ func OpenTab(workDir, command string) error OpenTab opens a new Ghostty window and runs the given command. Note: Ghostty on macOS doesn't support creating tabs through AppleScript like iTerm2. This function attempts to create a new tab using UI scripting, with fallback to new window. Types ¶ This section is empty. Source Files ¶ View all Source files tab.go Click to show internal directories. Click to hide internal directories.