AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.07k stars 350 forks source link

Fix bug when runes with width > 1 in an option with multiple lines #445

Closed VCisHere closed 1 year ago

VCisHere commented 1 year ago

fixes #444

AlecAivazis commented 1 year ago

πŸ‘‹ Thanks for submitting this! Please bear with us while we catch up on a lot of PRs that are piling up. We appreciate your patience

AlecAivazis commented 1 year ago

@VCisHere mind giving me some quick instructions to see the bug in the current implementation?

VCisHere commented 1 year ago

We can enter "δΈ€" until the text is more than one line to see the bug.

AlecAivazis commented 1 year ago

Awesome, I saw the bug on the current master branch and confirmed your fix works. Thanks again! I pushed up a test so we can ensure this still works moving forward. Will merge once we get the πŸ‘ from github