tree: 5252d27a9724e7ddee428a772f3e372abe82916c [path history] [tgz]
  1. .travis.yml
  2. LICENSE
  3. README.md
  4. go.mod
  5. go.sum
  6. go.test.sh
  7. runewidth.go
  8. runewidth_appengine.go
  9. runewidth_js.go
  10. runewidth_posix.go
  11. runewidth_table.go
  12. 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