Expand description
§Chat View Sub-modules
Decomposed into single-responsibility modules. Start with
render_chat_view for the full pipeline.
Re-exports§
pub use render::render_chat_view;
Modules§
- attachment
- Attachment badge suffix for the input area title.
- auto_
apply - Auto-apply ON/OFF badge spans.
- cursor
- Input-area cursor placement.
- empty
- Empty-placeholder line when the chat has no messages.
- entries
- Per-message rendering loop (tool panels, chat messages).
- entry_
result - Result type returned by
super::entries::append_entries. - format_
cache - Per-message formatted-line cache.
- images_
badge - Pending images badge for the status line.
- input_
area - User input textbox renderer.
- layout_
chunks - Layout chunks struct.
- layout_
compute - Layout computation for the chat view.
- lines
- Cached chat-line buffer builder.
- messages
- Scrollable messages panel renderer.
- render
- Chat view orchestrator.
- scroll
- Scroll-offset clamping for the messages panel.
- separator
- Horizontal separator line between chat entries.
- spinner
- Animated spinner and elapsed-time formatting.
- status
- Bottom status-line span assembly.
- status_
hints - Keybinding hint spans for the status bar.
- status_
line - Bottom status-line renderer widget.
- status_
text - Status text span (yellow when processing, green when idle).
- streaming
- In-flight streaming assistant preview.
- suggestions
- Slash-command autocomplete suggestions list.
- title
- Chat-panel block title (model + session labels).
- token_
spans - Push token-usage spans from
TokenDisplayinto a span buffer.