mfer/vendor/github.com/mattn/go-runewidth
Jeffrey Paul 081028f3b2 vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
..
.travis.yml vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
LICENSE vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
README.md vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
go.mod vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
go.sum vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
go.test.sh vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
runewidth.go vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
runewidth_appengine.go vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
runewidth_js.go vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
runewidth_posix.go vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
runewidth_table.go vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00
runewidth_windows.go vendor in deps so CI goes fast 2022-02-01 21:36:27 -08:00

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