- update go-colorable, go-isatty, go-runewidth packages - use go-isatty instead of log/term and remove log/term package |
||
|---|---|---|
| .. | ||
| LICENSE | ||
| README.mkd | ||
| runewidth_js.go | ||
| runewidth_posix.go | ||
| runewidth_windows.go | ||
| runewidth.go | ||
go-runewidth
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

