peridot/vendor/github.com/mattn/go-runewidth
2022-07-07 22:13:21 +02:00
..
.travis.yml Initial commit 2022-07-07 22:13:21 +02:00
BUILD.bazel Initial commit 2022-07-07 22:13:21 +02:00
go.mod Initial commit 2022-07-07 22:13:21 +02:00
go.sum Initial commit 2022-07-07 22:13:21 +02:00
go.test.sh Initial commit 2022-07-07 22:13:21 +02:00
LICENSE Initial commit 2022-07-07 22:13:21 +02:00
README.md Initial commit 2022-07-07 22:13:21 +02:00
runewidth_appengine.go Initial commit 2022-07-07 22:13:21 +02:00
runewidth_js.go Initial commit 2022-07-07 22:13:21 +02:00
runewidth_posix.go Initial commit 2022-07-07 22:13:21 +02:00
runewidth_table.go Initial commit 2022-07-07 22:13:21 +02:00
runewidth_windows.go Initial commit 2022-07-07 22:13:21 +02:00
runewidth.go Initial commit 2022-07-07 22:13:21 +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