Skip to content

API Reference

The Rust API documentation is generated by rustdoc (a Nix-built, reproducible flake output) and co-hosted under this site at api/tmux_tui/. The rustdoc HTML is injected at deploy time, so the frame below is populated on the published site (it is empty in a bare local mkdocs serve).

The crate is organized as small modules:

  • tmux — data models (Pane, Win) and every tmux command wrapper.
  • geometry — pure scaling of tmux cell-coordinates into screen rectangles and cursor hit-testing.
  • menu — the context-menu model and item builder.
  • app — application state and the behavior of each gesture.
  • ui — rendering (drawing only; no mutation).