A 5e storytelling engine with an LLM DM
Something went wrong. Try again.
Add word wrapping to the stream renderer master
The renderer was writing characters directly to stdout with no column awareness, so the terminal did hard wrapping at the margin — cutting words in half mid-syllable. Now inline text is buffered word-by-word and checked against the terminal width before output. Words that won't fit get pushed to the next line. Width is read live from the Rich Console as a property, so resizing the terminal or changing font size mid-response is picked up on the next word boundary. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author Chris Guidry Co-author Claude Opus 4.6 (1M context) Date (Mar 29, 2026, 9:46 PM UTC) Commit 63f08ae4 63f08ae47030a470ade4a938393dca3ec609f416 Parent d766b1d6 d766b1d66fd109faf6da9789954b103e6c0e33a7