Expand description
Stateless TUI widgets.
Each widget takes explicit props; the compose function in
render::mod pulls those props from State per frame. No widget
holds a reference to any god-object.
Structs§
- Attachment
Widget - Widget that displays attached image indicators
- Chat
State - State for the chat widget
- Chat
Widget - Props for ChatWidget
- Conversation
List Widget - Image
Click Target - Entry in the click map: maps a content line to an image in chat history
- Input
State - State for the input widget
- Input
Widget - Props for InputWidget. The slash-command palette is rendered
separately as
SlashPaletteWidgetin the bottom region (seerender.rs); this widget just draws the bordered input box. - Slash
Palette Widget - Status
Banner Widget - Status
Line Widget - Props for StatusLineWidget (stateless widget showing generation progress)
- Status
Widget - Props for StatusWidget (stateless widget)
Enums§
- Generation
Status - Local-to-render-layer generation phase enum. The compose function
converts from
domain::TurnState+domain::GenPhaseinto one of these four states; widgets render off this local view so they don’t need to pattern-match the full domain enum.