Anthony Romano b1d41016b2 vendor: only vendor on emitted binaries 8 years ago
..
.travis.yml b1d41016b2 vendor: only vendor on emitted binaries 8 years ago
README.mkd b1d41016b2 vendor: only vendor on emitted binaries 8 years ago
runewidth.go b1d41016b2 vendor: only vendor on emitted binaries 8 years ago
runewidth_js.go b1d41016b2 vendor: only vendor on emitted binaries 8 years ago
runewidth_posix.go b1d41016b2 vendor: only vendor on emitted binaries 8 years ago
runewidth_windows.go b1d41016b2 vendor: only vendor on emitted binaries 8 years ago

README.mkd

go-runewidth

Build Status Coverage Status GoDoc

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