Skip to main content

Module chat_ui

Module chat_ui 

Source
Expand description

Ratatui rendering for ChatApp.

Layout:

│  history scrollback (word-wrapped messages)       │
├─ textarea (multi-line input with border) ─────────┤
└─ fkey legend / status (1 row) ────────────────────┘

The model name is shown in the compositor’s window titlebar — no duplicate top bar is rendered here. If a status message is active (error, generating), the fkey legend row shows it instead of the key hints.

Functions§

draw
take_editor_text