Documentation
¶
Overview ¶
Package mux defines common types and helpers for terminal multiplexers.
It provides a unified representation of panes, screen snapshots, and process references across different multiplexers such as tmux, Zellij, and Herdr.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoundBottomLines ¶
BoundBottomLines normalizes line endings, strips any trailing empty line, and returns at most limit bottom lines.
Types ¶
type Pane ¶
type Pane struct {
Location registry.MultiplexerContext
Processes []ProcessRef
ProcessTTY string
Command string
CWD string
Title string
Activity *registry.Activity
StateReason string
}
Pane is transient native multiplexer inventory. Only Location is persisted.
type ProcessRef ¶
ProcessRef identifies a process reported by a multiplexer for one pane. Start identity is resolved from the observer's own process snapshot.
type ScreenCapturer ¶
type ScreenCapturer func(context.Context, Pane) (ScreenSnapshot, error)
type ScreenSnapshot ¶
Click to show internal directories.
Click to hide internal directories.