tea/vendor/github.com/mattn/go-runewidth
Andreas Ulm 0cd7ba04b8 implemented unified Output (#14)
Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
2019-04-28 19:30:03 +02:00
..
.travis.yml implemented unified Output (#14) 2019-04-28 19:30:03 +02:00
LICENSE implemented unified Output (#14) 2019-04-28 19:30:03 +02:00
README.mkd implemented unified Output (#14) 2019-04-28 19:30:03 +02:00
runewidth.go implemented unified Output (#14) 2019-04-28 19:30:03 +02:00
runewidth_appengine.go implemented unified Output (#14) 2019-04-28 19:30:03 +02:00
runewidth_js.go implemented unified Output (#14) 2019-04-28 19:30:03 +02:00
runewidth_posix.go implemented unified Output (#14) 2019-04-28 19:30:03 +02:00
runewidth_windows.go implemented unified Output (#14) 2019-04-28 19:30:03 +02: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