Expand description
Ratatui screener TUI (tvscreener-tui binary).
Structs§
- AppModel
- Pane model: config, last rows, status line, active view.
- Builder
Ui - Builder pane UI state (not sent to the API until refresh).
- Scan
Config - CLI / env scan parameters for the TUI.
- Terminal
Guard - Restores the terminal on drop (normal exit,
?, or unwind after panic hook).
Enums§
- Builder
Focus - Builder row focus for
j/knavigation. - Input
Mode - Text input sub-mode inside the builder pane.
- View
Mode - Which pane the TUI is showing.
Constants§
- DEFAULT_
WATCH_ INTERVAL_ SECS - Default auto-refresh interval when watch mode is on (seconds).
- FILTER_
OPS - Operators offered in the simple filter wizard.
- MIN_
TUI_ REFRESH_ SECS - Minimum gap between TUI scans (manual
ror watch).
Statics§
- STOP
- Set by SIGINT/SIGTERM so the loop can restore the tty before exit.
Functions§
- build_
payload - Builds the scanner POST JSON for the current config (no network).
- configure_
screener - Configures a screener from TUI scan parameters.
- copy_
via_ osc52 - Copies
textto the terminal clipboard via OSC 52. - draw
- Draws the TUI chrome and active pane.
- hard_
reset_ tty - Reset SGR, cursor, and clear both alt and main tty buffers.
- inside_
gnu_ screen - GNU screen sets
STY. Its default config often ignores the xterm alt buffer. - install_
panic_ hook - Restores the tty on panic before the default panic hook runs.
- install_
signal_ handlers - Installs Ctrl-C / SIGTERM handler that sets
STOP. - is_
quit_ key - Returns true for quit keys (
q, Esc, Ctrl-C). - payload_
pretty - Pretty JSON for the payload pane.
- render_
codegen - Rust + CLI snippets for the codegen pane.