tree: e402081ffc6076a3cdf7ea0ad8e283ca0ebac4b5 [path history] [tgz]
  1. .travis.yml
  2. LICENSE
  3. README.md
  4. go.test.sh
  5. runewidth.go
  6. runewidth_appengine.go
  7. runewidth_js.go
  8. runewidth_posix.go
  9. runewidth_table.go
  10. runewidth_windows.go
vendor/github.com/mattn/go-runewidth/README.md

go-runewidth

Build Status Codecov 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