Expand description
Word-wrapping input renderer.
Renders TextArea content with word-wrap (matching conversation text) while preserving cursor position. The TextArea handles editing logic; this module only handles display.
Fixes #517: input prompt should word-wrap like conversation text blocks.
Functionsยง
- render_
wrapped_ input - Render the TextArea content with word-wrapping into the given area, drawing the cursor at the correct visual position.
- wrapped_
height - Compute the visual height (wrapped lines) for all textarea content.