ZiniGo/vendor/github.com/mattn/go-runewidth
xucong 9a385048e7 fix get library remove note fix data format check 2024-12-19 20:40:42 +08:00
..
LICENSE fix get library remove note fix data format check 2024-12-19 20:40:42 +08:00
README.md fix get library remove note fix data format check 2024-12-19 20:40:42 +08:00
runewidth.go fix get library remove note fix data format check 2024-12-19 20:40:42 +08:00
runewidth_appengine.go fix get library remove note fix data format check 2024-12-19 20:40:42 +08:00
runewidth_js.go fix get library remove note fix data format check 2024-12-19 20:40:42 +08:00
runewidth_posix.go fix get library remove note fix data format check 2024-12-19 20:40:42 +08:00
runewidth_table.go fix get library remove note fix data format check 2024-12-19 20:40:42 +08:00
runewidth_windows.go fix get library remove note fix data format check 2024-12-19 20:40:42 +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