Skip to content

formatChatHints

formatChatHints(hints, opts?): string

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

Render ChatHints as a console-markup string for a markup-capable Label (or Footer), colouring the keys distinctly from their labels. The defaults use theme variables ($accent keys, $dimmed separators), so the hint line stays theme-aware. Example output: "[$accent]⏎[/] send[$dimmed] │ [/][$accent]^j[/] newline".

ChatHint[]

ChatHintMarkupOptions = {}

string