InDieTasten / ASCII-mate

A CLI tool with mouse support for drawing ascii art and animations
MIT License
1 stars 1 forks source link

Rendering outside terminal dimensions causes buggy terminal wrapping #61

Open InDieTasten opened 2 days ago

InDieTasten commented 2 days ago

When rendering outside of the buffer size in the alternate screen, the terminal will wrap the cursor position to new lines, causing issues during rendering.

All drawing functions in TermUI should ensure not to let the cursor wrap around by the terminal to avoid this. Any content rendered outside the dimensions of the terminal should be hidden and not rendered.