Skip to main content

Module ui

Module ui 

Source

Modules§

agent_health
chart_markers
High-visibility markers for ratatui canvas charts (Braille dots are too small alone).
context
dashboard
discover
market_status
menu
positions_panel
Rich positions tab: per-spread cards with gauges and payoff chart.
rules_view
spread_feed
Background Schwab spread mark refresh for options watch TUI.
spread_live
Live spread marks + exit-proximity views for the options watch TUI.
spread_payoff
Expiry payoff (risk graph) for vertical credit spreads.
theme
Shared ratatui styling for the options watch dashboard.
tui_render
Ratatui-native render helpers (no ANSI / unicode box panels).
watch

Functions§

ago_secs
bar
Unicode progress bar (█░).
clock_dot
format_duration_secs
kv_line
Key / value line with aligned columns inside a panel.
panel
Rounded panel with title; width is total outer width including corners.
panel_fit
Panel sized to content, not full terminal width.
panel_width_for
Outer width of a panel that fits its content (capped at max_width).
rule
Horizontal rule with centered title (furoshiki-style).
status_dot
terminal_width
Visible terminal width (fallback 100).
two_column
Two panels side by side (each column is one panel’s line sequence).