dnscrypt-proxy/vendor/github.com/mattn/go-runewidth
Frank Denis 8e913d8bf9 Udate deps 2021-09-24 09:30:49 +02:00
..
.travis.yml Update deps 2021-07-03 10:56:53 +02:00
LICENSE Update deps 2021-07-03 10:56:53 +02:00
README.md Update deps 2021-07-03 10:56:53 +02:00
go.test.sh Update deps 2021-07-03 10:56:53 +02:00
runewidth.go Update deps 2021-07-03 10:56:53 +02:00
runewidth_appengine.go Update deps 2021-07-03 10:56:53 +02:00
runewidth_js.go Update deps 2021-07-03 10:56:53 +02:00
runewidth_posix.go Update deps 2021-07-03 10:56:53 +02:00
runewidth_table.go Update deps 2021-07-03 10:56:53 +02:00
runewidth_windows.go Update deps 2021-07-03 10:56:53 +02: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