iterm

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 4 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 iTerm2 tab, sets a random color, and runs the given command.

func OpenTabWithClaude

func OpenTabWithClaude(workDir, initialPrompt, claudeBin string) error

OpenTabWithClaude opens a new iTerm2 tab with Claude and an initial prompt.

func OpenTabWithResume

func OpenTabWithResume(workDir, sessionID, claudeBin string) error

OpenTabWithResume opens a new iTerm2 tab to resume a Claude session.

func RandomColor

func RandomColor() string

RandomColor returns an escape sequence for a random iTerm tab color.

Types

This section is empty.

Jump to

Keyboard shortcuts

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