taldl/vendor/github.com/mattn/go-runewidth
2021-06-26 06:22:39 +02:00
..
.travis.yml improved 2021-06-26 06:22:39 +02:00
go.mod improved 2021-06-26 06:22:39 +02:00
go.sum improved 2021-06-26 06:22:39 +02:00
go.test.sh improved 2021-06-26 06:22:39 +02:00
LICENSE improved 2021-06-26 06:22:39 +02:00
README.md improved 2021-06-26 06:22:39 +02:00
runewidth_appengine.go improved 2021-06-26 06:22:39 +02:00
runewidth_js.go improved 2021-06-26 06:22:39 +02:00
runewidth_posix.go improved 2021-06-26 06:22:39 +02:00
runewidth_table.go improved 2021-06-26 06:22:39 +02:00
runewidth_windows.go improved 2021-06-26 06:22:39 +02:00
runewidth.go improved 2021-06-26 06:22:39 +02:00

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