Documentation
¶
Overview ¶
Package kitty opens windows in the kitty terminal emulator. Unlike the iTerm2 and Ghostty backends, which drive macOS via AppleScript, kitty is controlled through its own CLI, so this backend works on Linux (and anywhere else kitty runs).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenTab ¶
OpenTab opens a new kitty OS window and runs the given command.
It first tries kitty's remote control protocol (kitty @ launch --type=os-window), which opens the window from the running kitty instance. This requires zen to be invoked from inside kitty with allow_remote_control enabled in kitty.conf (or a socket configured via listen_on).
If remote control is unavailable, it falls back to starting a new kitty instance, detached from zen's process.
Types ¶
This section is empty.