Documentation
¶
Overview ¶
Package tui implements the bubbletea dashboard for the shardflow client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run blocks running the TUI connected to the daemon at sockPath. If the daemon dies mid-session the TUI does NOT exit — it shows a reconnecting indicator and retries Dial in the background until either the daemon comes back or the user quits.
Lifecycle: on reconnect the old client is closed inside the message handler before the model swaps in the new one, so we never leak FDs. At program exit, p.Run returns the final model — we close whatever client it holds (which is the most recent reconnect, if any happened).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.