xmtop/vendor/github.com/mattn/go-runewidth
2018-02-20 19:25:54 -08:00
..
.travis.yml Added dep 2018-02-20 19:25:54 -08:00
LICENSE Added dep 2018-02-20 19:25:54 -08:00
README.mkd Added dep 2018-02-20 19:25:54 -08:00
runewidth_js.go Added dep 2018-02-20 19:25:54 -08:00
runewidth_posix.go Added dep 2018-02-20 19:25:54 -08:00
runewidth_windows.go Added dep 2018-02-20 19:25:54 -08:00
runewidth.go Added dep 2018-02-20 19:25:54 -08:00

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