k9s/vendor/github.com/mattn/go-runewidth
derailed 366b6cd96b updates logging, fail fast and added namespace/search features 2019-02-05 17:01:58 -07:00
..
.travis.yml init drop 2019-01-25 11:53:08 -07:00
LICENSE init drop 2019-01-25 11:53:08 -07:00
README.mkd init drop 2019-01-25 11:53:08 -07:00
runewidth.go updates logging, fail fast and added namespace/search features 2019-02-05 17:01:58 -07:00
runewidth_appengine.go updates logging, fail fast and added namespace/search features 2019-02-05 17:01:58 -07:00
runewidth_js.go updates logging, fail fast and added namespace/search features 2019-02-05 17:01:58 -07:00
runewidth_posix.go updates logging, fail fast and added namespace/search features 2019-02-05 17:01:58 -07:00
runewidth_windows.go updates logging, fail fast and added namespace/search features 2019-02-05 17:01:58 -07: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