mirror of https://github.com/miguelmota/cointop
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.
69ef18e659 | 7 years ago | |
---|---|---|
.. | ||
.travis.yml | 7 years ago | |
LICENSE | 7 years ago | |
README.mkd | 7 years ago | |
runewidth.go | 7 years ago | |
runewidth_js.go | 7 years ago | |
runewidth_posix.go | 7 years ago | |
runewidth_test.go | 7 years ago | |
runewidth_windows.go | 7 years ago |
README.mkd
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