ui/prompt_input library

Classes

PromptInput
The input box at the bottom of the screen, like Claude Code's: a bordered multi-line editor with history, slash-command suggestions and a hint line.
SlashCommand

Functions

layoutText(List<String> chars, int cursor, int width) → ({int column, int row, List<String> rows})
Text laid out in rows of at most width columns, with where the cursor falls.