VictoriaMetrics/vendor/github.com/mattn/go-runewidth
2021-02-01 19:39:10 +02:00
..
.travis.yml vendor: make vendor-update 2021-02-01 19:39:10 +02:00
go.mod vendor: make vendor-update 2021-02-01 19:39:10 +02:00
go.sum vendor: make vendor-update 2021-02-01 19:39:10 +02:00
go.test.sh vendor: make vendor-update 2021-02-01 19:39:10 +02:00
LICENSE app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:10:20 +02:00
README.md vendor: make vendor-update 2021-02-01 19:39:10 +02:00
runewidth.go vendor: make vendor-update 2021-02-01 19:39:10 +02:00
runewidth_appengine.go app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:10:20 +02:00
runewidth_js.go app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:10:20 +02:00
runewidth_posix.go vendor: make vendor-update 2021-02-01 19:39:10 +02:00
runewidth_table.go vendor: make vendor-update 2021-02-01 19:39:10 +02:00
runewidth_windows.go app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:10:20 +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