Skip to main content

Module state

Module state 

Source
Expand description

Persisted session state: which workspaces exist, their harnesses and tile layouts. Harness processes themselves live in tmux and outlive the app; this file is what lets a restarted (or hot-reloaded) UI find them again.

Structs§

AppState

Functions§

control_socket
Control socket the running app listens on. Overridable for tests.
runtime_dir
$XDG_RUNTIME_DIR/termden, home of the control socket.
state_dir