op-geth/vendor/github.com/mattn/go-runewidth
HackyMiner 44eb69561a internal/debug: support color terminal for cygwin/msys2 (#17740)
- update go-colorable, go-isatty, go-runewidth packages
- use go-isatty instead of log/term and remove log/term package
2018-09-29 16:15:39 +02:00
..
LICENSE Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02:00
README.mkd Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02:00
runewidth.go internal/debug: support color terminal for cygwin/msys2 (#17740) 2018-09-29 16:15:39 +02:00
runewidth_js.go Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02:00
runewidth_posix.go Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02:00
runewidth_windows.go Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02: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