![]() |
%!s(int64=3) %!d(string=hai) anos | |
---|---|---|
.. | ||
.travis.yml | %!s(int64=3) %!d(string=hai) anos | |
LICENSE | %!s(int64=3) %!d(string=hai) anos | |
README.mkd | %!s(int64=3) %!d(string=hai) anos | |
runewidth.go | %!s(int64=3) %!d(string=hai) anos | |
runewidth_js.go | %!s(int64=3) %!d(string=hai) anos | |
runewidth_posix.go | %!s(int64=3) %!d(string=hai) anos | |
runewidth_windows.go | %!s(int64=3) %!d(string=hai) anos |
Provides functions to get fixed width of the character or string.
runewidth.StringWidth("つのだ☆HIRO") == 12
Yasuhiro Matsumoto
under the MIT License: http://mattn.mit-license.org/2013