You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cointop/vendor/github.com/mattn/go-runewidth
Miguel Mota eaf66f6519 Use forked version of termbox-go to fix keybindings on freebsd. Closes #43 5 years ago
..
.travis.yml dep ensure 6 years ago
LICENSE dep ensure 6 years ago
README.mkd dep ensure 6 years ago
go.mod Use forked version of termbox-go to fix keybindings on freebsd. Closes #43 5 years ago
runewidth.go Use forked version of termbox-go to fix keybindings on freebsd. Closes #43 5 years ago
runewidth_appengine.go Transfer from dep to go modules. 6 years ago
runewidth_js.go Transfer from dep to go modules. 6 years ago
runewidth_posix.go Transfer from dep to go modules. 6 years ago
runewidth_table.go Use forked version of termbox-go to fix keybindings on freebsd. Closes #43 5 years ago
runewidth_windows.go Transfer from dep to go modules. 6 years ago

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