Closed apognu closed 4 years ago
My naive implementation of character counting assumed, as it is on my own system, that all prompts and values entered in the greeter are ASCII.
Entering characters from other alphabets would, in the best case, mess up the cursor offset calculation or, in the worst case, crash the program.
We should not assume anything about the glyphs entered in the greeter.
Fixed in 0bd8dde043c485dbbee9afa3c95a9a1796d1173c.
My naive implementation of character counting assumed, as it is on my own system, that all prompts and values entered in the greeter are ASCII.
Entering characters from other alphabets would, in the best case, mess up the cursor offset calculation or, in the worst case, crash the program.
We should not assume anything about the glyphs entered in the greeter.