gotop/vendor/github.com/mattn/go-runewidth
Caleb Bassi fce8f0ba62 Add go vendor 2019-01-14 20:19:17 -08:00
..
.travis.yml Add go vendor 2019-01-14 20:19:17 -08:00
LICENSE Add go vendor 2019-01-14 20:19:17 -08:00
README.mkd Add go vendor 2019-01-14 20:19:17 -08:00
runewidth.go Add go vendor 2019-01-14 20:19:17 -08:00
runewidth_appengine.go Add go vendor 2019-01-14 20:19:17 -08:00
runewidth_js.go Add go vendor 2019-01-14 20:19:17 -08:00
runewidth_posix.go Add go vendor 2019-01-14 20:19:17 -08:00
runewidth_windows.go Add go vendor 2019-01-14 20:19:17 -08: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