window

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package window provides commands for iTerm2 window management.

Windows in iTerm2 are top-level containers that hold multiple tabs. This package provides commands to:

  • list: List all windows with their properties
  • create: Create new windows
  • close: Close existing windows
  • activate: Bring windows to front and focus
  • set-property: Modify window properties (title, frame, etc.)

Window operations allow control over iTerm2's window system, including positioning, sizing, and visual properties. Windows can be created with specific configurations and modified after creation.

Examples:

it2 window list
it2 window create --profile "Development"
it2 window set-property w0 --title "My Project"
it2 window activate w0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand creates the window command with support for both flat and hierarchical modes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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