go-runewidth
Provides functions to get fixed width of the character or string.
Usage
runewidth.StringWidth("つのだ☆HIRO") == 12Author
Yasuhiro Matsumoto
License
under the MIT License: http://mattn.mit-license.org/2013
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
Please sign in to use Codespaces.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download Xcode and try again.
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
add Go 1.20, 1.19, 1.18 and 1.17 to the build matrix.
44b7c5b
Provides functions to get fixed width of the character or string.
runewidth.StringWidth("つのだ☆HIRO") == 12Yasuhiro Matsumoto
under the MIT License: http://mattn.mit-license.org/2013
wcwidth for golang