go-common/vendor/github.com/mattn/go-runewidth
2019-04-22 02:59:20 +00:00
..
BUILD.bazel init 2019-04-22 02:59:20 +00:00
LICENSE init 2019-04-22 02:59:20 +00:00
README.mkd init 2019-04-22 02:59:20 +00:00
runewidth_js.go init 2019-04-22 02:59:20 +00:00
runewidth_posix.go init 2019-04-22 02:59:20 +00:00
runewidth_windows.go init 2019-04-22 02:59:20 +00:00
runewidth.go init 2019-04-22 02:59:20 +00: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