Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GhosttyTerminal ¶
type GhosttyTerminal struct{}
GhosttyTerminal wraps the Ghostty functions.
func (*GhosttyTerminal) Name ¶
func (t *GhosttyTerminal) Name() string
func (*GhosttyTerminal) OpenTab ¶
func (t *GhosttyTerminal) OpenTab(workDir, command string) error
func (*GhosttyTerminal) OpenTabWithClaude ¶
func (t *GhosttyTerminal) OpenTabWithClaude(workDir, initialPrompt, claudeBin, model string) error
func (*GhosttyTerminal) OpenTabWithResume ¶
func (t *GhosttyTerminal) OpenTabWithResume(workDir, sessionID, claudeBin, model string) error
type ITermTerminal ¶
type ITermTerminal struct{}
ITermTerminal wraps the iTerm functions.
func (*ITermTerminal) Name ¶
func (t *ITermTerminal) Name() string
func (*ITermTerminal) OpenTab ¶
func (t *ITermTerminal) OpenTab(workDir, command string) error
func (*ITermTerminal) OpenTabWithClaude ¶
func (t *ITermTerminal) OpenTabWithClaude(workDir, initialPrompt, claudeBin, model string) error
func (*ITermTerminal) OpenTabWithResume ¶
func (t *ITermTerminal) OpenTabWithResume(workDir, sessionID, claudeBin, model string) error
type Terminal ¶
type Terminal interface {
Name() string
OpenTab(workDir, command string) error
OpenTabWithResume(workDir, sessionID, claudeBin, model string) error
OpenTabWithClaude(workDir, initialPrompt, claudeBin, model string) error
}
Terminal represents a terminal emulator that can open tabs/windows.
func NewTerminal ¶
NewTerminal creates a new terminal instance based on the terminal type.
Click to show internal directories.
Click to hide internal directories.