gitea-tea/vendor/github.com/mattn/go-runewidth
2019-09-15 08:38:18 +00:00
..
.travis.yml unified output (#14) (#40) 2019-09-15 08:38:18 +00:00
LICENSE unified output (#14) (#40) 2019-09-15 08:38:18 +00:00
README.mkd unified output (#14) (#40) 2019-09-15 08:38:18 +00:00
runewidth_appengine.go unified output (#14) (#40) 2019-09-15 08:38:18 +00:00
runewidth_js.go unified output (#14) (#40) 2019-09-15 08:38:18 +00:00
runewidth_posix.go unified output (#14) (#40) 2019-09-15 08:38:18 +00:00
runewidth_windows.go unified output (#14) (#40) 2019-09-15 08:38:18 +00:00
runewidth.go unified output (#14) (#40) 2019-09-15 08:38:18 +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