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

MenuItem

A menu entry, or a horizontal rule.

Source and package
Qualified name
MenuItem
Module
types
Package
libtmux
Source
packages/libtmux/src/types.ts
type types.MenuItem = MenuEntry | "separator"

Description#

tmux spells a separator as one empty argument rather than a name/key/command triple, so modelling it as a distinct value keeps callers from fabricating empty fields that tmux would reject.

Esc

Type to search.

Reference previewOpen reference