wcwidth for golang


Keywords
go, golang, wcwidth, windows
License
MIT
Install
go get github.com/mattn/go-runewidth

Documentation

go-runewidth

Build Status Codecov 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