kitty

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 3 Imported by: 0

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

func OpenTab(workDir, command string) error

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.

Jump to

Keyboard shortcuts

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