Ohio-HYF 984e3a9ad8 init il y a 3 ans
..
.travis.yml 984e3a9ad8 init il y a 3 ans
LICENSE 984e3a9ad8 init il y a 3 ans
README.md 984e3a9ad8 init il y a 3 ans
go.test.sh 984e3a9ad8 init il y a 3 ans
runewidth.go 984e3a9ad8 init il y a 3 ans
runewidth_appengine.go 984e3a9ad8 init il y a 3 ans
runewidth_js.go 984e3a9ad8 init il y a 3 ans
runewidth_posix.go 984e3a9ad8 init il y a 3 ans
runewidth_table.go 984e3a9ad8 init il y a 3 ans
runewidth_windows.go 984e3a9ad8 init il y a 3 ans

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