Closed OkieOth closed 2 months ago
This is the proposed solution for issue #1068. It solves the bug in the user_input example with multi-byte UTF-8 characters as input.
I changed this a bit, to instead calculate the byte index and use that to insert. There's still a bug with displaying double width characters however.
This is the proposed solution for issue #1068. It solves the bug in the user_input example with multi-byte UTF-8 characters as input.