Expand description
Widget renderer.
Widget rendering — the TEA view function.
Renders the application state into a terminal frame.
This module contains no state mutation — it is a pure
function of App → visual output.
Functions§
- build_
main_ 🔒title - Build the title bar status string for the main pane.
- build_
patchset_ 🔒row - Build a single table row for a patchset in the list view.
- centered_
rect 🔒 - Compute a centered rectangle within the given area.
- classify_
diff_ 🔒line - Render the message detail view. Classify a raw unified diff line by its leading prefix.
- classify_
review_ 🔒line - Classify a line from a Sashiko inline review with context about whether we’ve seen quoted diff content yet.
- detail_
header_ 🔒lines - Build header lines for the detail view.
- detail_
patches_ 🔒lines - Build patches + inline review lines for the detail view.
- detail_
thread_ 🔒lines - Build thread message lines for the patchset detail view.
- format_
date 🔒 - Format a unix timestamp as
YYYY-MM-DDwithout external crate dependencies. - format_
findings 🔒 - Format
FindingCountsas compact severity indicators. - message_
detail_ 🔒lines - Build content lines for the message detail view.
- panel_
border_ 🔒color - Return the border color for a panel based on whether it has focus.
- render_
detail_ 🔒view - Render the patchset detail view in the given area.
- render_
help_ 🔒overlay - render_
loading_ 🔒dialog - render_
main_ 🔒pane - Render the main patchset pane (table or placeholder) in the given area.
- render_
message_ 🔒detail - render_
message_ 🔒table - Render the help overlay showing all keybinding mappings. Render a loading dialog showing the selected patchset being fetched. Render the message list table.
- render_
sidebar 🔒 - Render the remote/mailbox sidebar in the given area.
- status_
color 🔒 - Map a
PatchsetStatusto a foreground color style. - strip_
review_ 🔒quoting - Strip leading
>quoting prefixes from a review line. - view
- Render the application state into the given frame.