You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6543 86e2789960
Vendor Update (#16121)
3 years ago
..
.travis.yml update revive lint to latest commit (#12921) 3 years ago
LICENSE Rename scripts to build and add revive command as a new build tool command (#10942) 4 years ago
README.md update revive lint to latest commit (#12921) 3 years ago
go.mod Vendor Update (#16121) 3 years ago
go.sum Vendor Update (#16121) 3 years ago
go.test.sh update revive lint to latest commit (#12921) 3 years ago
runewidth.go [Vendor] Update directly used dependencys (#15593) 3 years ago
runewidth_appengine.go Rename scripts to build and add revive command as a new build tool command (#10942) 4 years ago
runewidth_js.go Rename scripts to build and add revive command as a new build tool command (#10942) 4 years ago
runewidth_posix.go update revive lint to latest commit (#12921) 3 years ago
runewidth_table.go [Vendor] Update directly used dependencys (#15593) 3 years ago
runewidth_windows.go Rename scripts to build and add revive command as a new build tool command (#10942) 4 years ago

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