xframe/vendor/github.com/mattn/go-runewidth
lwl0608 13b0b8e7a2 init 2024-10-12 12:55:20 +08:00
..
LICENSE init 2024-10-12 12:55:20 +08:00
README.md init 2024-10-12 12:55:20 +08:00
runewidth.go init 2024-10-12 12:55:20 +08:00
runewidth_appengine.go init 2024-10-12 12:55:20 +08:00
runewidth_js.go init 2024-10-12 12:55:20 +08:00
runewidth_posix.go init 2024-10-12 12:55:20 +08:00
runewidth_table.go init 2024-10-12 12:55:20 +08:00
runewidth_windows.go init 2024-10-12 12:55:20 +08:00

README.md

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