Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

typealias libtmux-ts latest

WindowTarget

A relative direction, or any window target tmux accepts.

Source and package
Qualified name
WindowTarget
Module
types
Package
libtmux
Source
packages/libtmux/src/types.ts
type types.WindowTarget = "last" | "next" | "previous" | (string & Record<never, never>)

Description#

The intersection keeps the three literals in autocomplete instead of letting the bare string swallow them.

Esc

Type to search.

Reference previewOpen reference