apognu / tuigreet

Graphical console greeter for greetd
GNU General Public License v3.0
992 stars 45 forks source link

Support unicode characters #6

Closed apognu closed 4 years ago

apognu commented 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.

apognu commented 4 years ago

Fixed in 0bd8dde043c485dbbee9afa3c95a9a1796d1173c.