Repository navigation
v0.1.7
Bug Fix
- Fix cursor misalignment when text wraps at word boundaries: The cursor would drift from the text insertion point once a line was long enough to wrap. The cursor math assumed character-level wrapping, but ratatui's
ParagraphwithWrap { trim: false }uses word wrapping (breaking at spaces). Cursor positioning and layout height calculations now replicate ratatui's WordWrapper algorithm to match the rendered output exactly.
Full Changelog: v0.1.6...v0.1.7