ghostty

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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.

func OpenTabWithClaude

func OpenTabWithClaude(workDir, initialPrompt, claudeBin, model string) error

OpenTabWithClaude opens a new Ghostty window with Claude and an initial prompt.

func OpenTabWithResume

func OpenTabWithResume(workDir, sessionID, claudeBin, model string) error

OpenTabWithResume opens a new Ghostty window to resume a Claude session.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL