buildx/vendor/github.com/mattn/go-runewidth
CrazyMax 20c947990c
ls: format opt
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-11-22 21:11:24 +01:00
..
LICENSE ls: format opt 2023-11-22 21:11:24 +01:00
README.md ls: format opt 2023-11-22 21:11:24 +01:00
runewidth.go ls: format opt 2023-11-22 21:11:24 +01:00
runewidth_appengine.go ls: format opt 2023-11-22 21:11:24 +01:00
runewidth_js.go ls: format opt 2023-11-22 21:11:24 +01:00
runewidth_posix.go ls: format opt 2023-11-22 21:11:24 +01:00
runewidth_table.go ls: format opt 2023-11-22 21:11:24 +01:00
runewidth_windows.go ls: format opt 2023-11-22 21:11:24 +01: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