Skip to main content

Module chat_view

Module chat_view 

Source
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 TokenDisplay into a span buffer.