cloudflared-mirror/vendor/github.com/mattn/go-runewidth
Rachel Williams d8ebde37ca TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
..
.travis.yml TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
LICENSE TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
README.md TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
go.mod TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
go.test.sh TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
runewidth.go TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
runewidth_appengine.go TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
runewidth_js.go TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
runewidth_posix.go TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
runewidth_table.go TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04:00
runewidth_windows.go TUN-3201: Create base cloudflared UI structure 2020-09-17 11:52:07 +04: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