nunomaduro / termwind

🍃 In short, it's like Tailwind CSS, but for the PHP command-line applications.
MIT License
2.27k stars 76 forks source link

Incorrect spaces count of East Asian characters. #185

Open ycs77 opened 3 months ago

ycs77 commented 3 months ago

I using the Laravel's alert and two columns components, If enter the English it will works fine:

termwind-1

But if enter East Asian characters such as full-width characters (such as Chinese or Japanese) it will show incorrect spaces:

termwind-2 termwind-3