A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
4.07k
stars
350
forks
source link
Rendering error when there are runes with width > 1 in an option with multiple lines #444
Closed
VCisHere closed 1 year ago
What operating system and terminal are you using? Windows 10; Windows Terminal
An example that showcases the bug.![image](https://user-images.githubusercontent.com/50483487/184640642-6e9bf7fc-b46b-413b-b69a-7a745cd8b18a.png)
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](https://user-images.githubusercontent.com/50483487/184640983-b47607bd-5866-4a0b-bc45-a0a2a0e96487.png)