liuxiulin 30a81ab368 fix bug 2 년 전
..
.travis.yml 43fba13799 first commit 2 년 전
LICENSE 43fba13799 first commit 2 년 전
README.md 43fba13799 first commit 2 년 전
go.mod 30a81ab368 fix bug 2 년 전
go.test.sh 43fba13799 first commit 2 년 전
runewidth.go 43fba13799 first commit 2 년 전
runewidth_appengine.go 43fba13799 first commit 2 년 전
runewidth_js.go 43fba13799 first commit 2 년 전
runewidth_posix.go 43fba13799 first commit 2 년 전
runewidth_table.go 43fba13799 first commit 2 년 전
runewidth_windows.go 43fba13799 first commit 2 년 전

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