tboox / ltui

🍖 A cross-platform terminal ui library based on Lua
https://tboox.org
Apache License 2.0
818 stars 49 forks source link

enhance unicode width detection, adds test 4 utf8 #29

Closed laelnasan closed 3 years ago

laelnasan commented 3 years ago

Changes to be committed: modified: src/ltui/label.lua new file: tests/utf8dialog.lua


waruqi commented 3 years ago

I have tested it, It works on macOS. I have merge it although utf8 is not yet supported on windows/pdcurses.

laelnasan commented 3 years ago

I've submitted a pr #28 with the pdcurses flag for wide characters. It is a bit old but should at least print some chars