No description or website provided.
Go
Switch branches/tags
Clone or download
mattn Merge pull request #16 from mattn/env-disable
RUNEWIDTH_EASTASIAN=0 to disable
Latest commit ce7b0b5 Apr 8, 2018

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