wcwidth for golang
Switch branches/tags
Nothing to show
Clone or download
Latest commit 3ee7d81 Dec 10, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml Remove gocov Mar 15, 2016
LICENSE add LICENSE Oct 12, 2016
README.mkd go report badge Oct 12, 2016
benchmark_test.go Add some benchmarks. Oct 24, 2018
runewidth.go Fix ZeroWidthJoiner Dec 10, 2018
runewidth_appengine.go return false on appengine Aug 24, 2018
runewidth_js.go add build costraints Nov 17, 2018
runewidth_posix.go add build costraints Nov 17, 2018
runewidth_posix_test.go add build costraints Nov 17, 2018
runewidth_test.go fix test Nov 17, 2018
runewidth_windows.go return false on appengine Aug 24, 2018

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