AlecAivazis/survey

Rendering error when there are runes with width > 1 in an option with multiple lines

VCisHere opened this issue · 0 comments

What operating system and terminal are you using?
Windows 10; Windows Terminal

An example that showcases the bug.
image

What did you expect to see?
Render correctly.

What did you see instead?
Some content has been rendered repeatedly.

There may be a problem with this function (renderer.go: countLines):
image