console-rs / dialoguer

Rust utility library for nice command line prompts and similar things
MIT License
1.31k stars 143 forks source link

[#268] Fix Input tail length calculation (wrong cursor positioning) #269

Closed finistseb closed 1 year ago

finistseb commented 1 year ago

Cursor is not correctly positioned where the input string contains utf8 chars.

francisdb commented 1 year ago

Could we get a release containing his patch?

pksunkara commented 1 year ago

Unfortunately, it might be hard because I was in the middle of breaking changes. Might have to port it to a different branch.