buildx/vendor/github.com/mattn/go-runewidth
Sebastiaan van Stijn 5398c33937
vendor: github.com/mattn/go-runewidth v0.0.16
adds support for Unicode 15.1.0

full diff: https://github.com/mattn/go-runewidth/compare/v0.0.15...v0.0.16

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-04-18 15:54:06 -07: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 vendor: github.com/mattn/go-runewidth v0.0.16 2025-04-18 15:54:06 -07: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