forked from gitea/gitea
1
0
Fork 0
gitea/vendor/github.com/mattn/go-runewidth
Lunny Xiao 4f63f283c4
Rename scripts to build and add revive command as a new build tool command (#10942)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-04-03 22:29:12 +03:00
..
.travis.yml Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
LICENSE Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
README.mkd Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
go.mod Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
runewidth.go Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
runewidth_appengine.go Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
runewidth_js.go Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
runewidth_posix.go Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
runewidth_table.go Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
runewidth_windows.go Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00

README.mkd

go-runewidth

Build Status Coverage Status 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