serviceman/vendor/github.com/mattn/go-runewidth
AJ ONeal 870d149797 add deps 2019-07-01 02:44:54 -06:00
..
.travis.yml add deps 2019-07-01 02:44:54 -06:00
LICENSE add deps 2019-07-01 02:44:54 -06:00
README.mkd add deps 2019-07-01 02:44:54 -06:00
runewidth.go add deps 2019-07-01 02:44:54 -06:00
runewidth_js.go add deps 2019-07-01 02:44:54 -06:00
runewidth_posix.go add deps 2019-07-01 02:44:54 -06:00
runewidth_windows.go add deps 2019-07-01 02:44:54 -06:00

README.mkd

go-runewidth

Build Status Coverage Status GoDoc Go Report Card

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