Expand description
Core types for the TUI display server state.
The state hierarchy is: TuiState → TuiSession → TuiWindow → TuiPane.
Each pane owns a ratatui Buffer for cell storage and tracks damage via bitmask.
Structs§
- Cursor
State - Cursor state for a pane.
- Pane
Buffer - A pane’s cell buffer with damage tracking.
- Scroll
Op - A scroll operation recorded for incremental diff encoding.
- TuiPane
- A single terminal pane with primary and alternate screen buffers.
- TuiSession
- A TUI session containing one or more windows.
- TuiState
- Top-level TUI multiplexer state.
- TuiWindow
- A window containing one or more panes in a layout tree.
Enums§
- Cursor
Shape - Cursor shape (matches DEC private mode sequences).
- Ingestion
Mode - How a pane receives content.
- Layout
Node - Layout tree node for window pane arrangement.
- Pane
Backend - How the server manages a pane’s content.
- TuiEvent
- Events broadcast from the TUI state to viewers and the 9P filesystem.