Skip to main content

Module tui

Module tui 

Source
Expand description

Interactive TUI for controlling Sonos speakers.

Launched when sonos is run without arguments in a terminal.

Modules§

helpers
Shared data helpers for TUI screens — extract common patterns into reusable functions.
hooks
TUI hooks system — co-located widget state, SDK subscriptions, and animation.
image_loader
Background image fetcher with in-memory cache.
types
Shared types used across TUI layers (widgets, screens, handlers).

Structs§

App
Top-level TUI state. Owns the SDK handle and all UI state.

Functions§

run
Launch the interactive TUI. Blocks until the user quits.