You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I input multi-byte characters (such as Chinese, Japanese, Emoji, etc.), the width of the border at the end changes. These multibyte characters occupy 2 spaces, but the calculation boundary may use its actual length (3 spaces).
Maybe using mb_strwidth to solve this?
Steps To Reproduce
The text was updated successfully, but these errors were encountered:
Laravel Prompts Version
v0.1.1 (I also tested dev-main)
Laravel Version
Independent installation of prompts
PHP Version
8.2.8
Operating System & Version
macOS 13.0
Terminal Application
Terminal
Description
When I input multi-byte characters (such as Chinese, Japanese, Emoji, etc.), the width of the border at the end changes. These multibyte characters occupy 2 spaces, but the calculation boundary may use its actual length (3 spaces).
Maybe using
mb_strwidth
to solve this?Steps To Reproduce
The text was updated successfully, but these errors were encountered: