talc/vendor/github.com/mattn/go-runewidth
2020-03-17 16:36:19 +01:00
..
.travis.yml init 2020-03-17 16:36:19 +01:00
go.mod init 2020-03-17 16:36:19 +01:00
go.test.sh init 2020-03-17 16:36:19 +01:00
LICENSE init 2020-03-17 16:36:19 +01:00
README.md init 2020-03-17 16:36:19 +01:00
runewidth_appengine.go init 2020-03-17 16:36:19 +01:00
runewidth_js.go init 2020-03-17 16:36:19 +01:00
runewidth_posix.go init 2020-03-17 16:36:19 +01:00
runewidth_table.go init 2020-03-17 16:36:19 +01:00
runewidth_windows.go init 2020-03-17 16:36:19 +01:00
runewidth.go init 2020-03-17 16:36:19 +01: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