k9s/vendor/github.com/mattn/go-runewidth
derailed da190c204c init drop 2019-01-25 11:53:08 -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 init drop 2019-01-25 11:53:08 -07:00
runewidth_js.go init drop 2019-01-25 11:53:08 -07:00
runewidth_posix.go init drop 2019-01-25 11:53:08 -07:00
runewidth_windows.go init drop 2019-01-25 11:53:08 -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