Skip to main content

Module tui

Module tui 

Source
Expand description

Interactive terminal UI — entry point and event loop.

Architecture (borrowed from cc-switch-cli):

  • app/ — App state, overlay enum, event cascade, action handler
  • ui/ — pure rendering: chrome (header), content tabs, overlays, footer
  • theme — colors + no_color accessibility mode

Input priority cascade: overlay → globals → tab content. An active overlay suppresses all other keys, so vim motions inside a log viewer never leak into tab switching.

Modules§

app
theme
ui

Functions§

run_tui