nunomaduro / termwind

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

Fix incorrect spaces count of East Asian characters #186

Open ycs77 opened 5 months ago

ycs77 commented 5 months ago

fixed #185

Using mb_strwidth() to replace mb_strlen() to fix the incorrect spaces count of East Asian characters.

xiCO2k commented 5 months ago

Looks good to me. cc @nunomaduro