You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
.. | ||
.travis.yml | 4 years ago | |
LICENSE | 5 years ago | |
README.md | 4 years ago | |
go.mod | 5 years ago | |
go.test.sh | 4 years ago | |
runewidth.go | 4 years ago | |
runewidth_appengine.go | 5 years ago | |
runewidth_js.go | 5 years ago | |
runewidth_posix.go | 4 years ago | |
runewidth_table.go | 4 years ago | |
runewidth_windows.go | 5 years ago |
README.md
go-runewidth
Provides functions to get fixed width of the character or string.
Usage
runewidth.StringWidth("つのだ☆HIRO") == 12
Author
Yasuhiro Matsumoto
License
under the MIT License: http://mattn.mit-license.org/2013