Skip to content

ChatHint

Defined in: widgets/controls/chat-input.ts:46

One contextual help entry for the hint line below the composer: a key glyph and what it does. Hosts render these however they like (see ChatInputWidget.getHints); the widget recomputes them as the editing mode changes (popup open, browsing history, a suggestion offered, busy, …).

optional group?: "nav" | "edit" | "action"

Defined in: widgets/controls/chat-input.ts:52

Coarse bucket so hosts can group/colour or drop the lowest priority first.


keys: string

Defined in: widgets/controls/chat-input.ts:48

The key(s) to press, already glyph-formatted (e.g. ”⏎”, ”↑↓”, “esc”).


label: string

Defined in: widgets/controls/chat-input.ts:50

What pressing them does (e.g. “send”, “accept”, “history”).