Skip to main content

Module tui

Module tui 

Source
Expand description

The keyboard-first chat reader.

A calm two-pane ledger: chats on the left, the open conversation on the right, a header that always says where you are and a footer that always says what the keys do. Reads run in the background so the keyboard never waits on the network, results are cached per chat, and every screen stays legible without colour (NO_COLOR).

Enums§

Source
Where chats come from: a connected profile or deterministic sample data.
TuiExit

Functions§

connection_snapshot
request_authentication
Present an actionable connection state inside the same terminal experience. Returning first restores the alternate screen before the caller opens a browser or prints device-code instructions.
run
Opens the chat reader and returns how the person left it.
snapshot
One ANSI-free frame of the demo, for documentation and tests.