DockerCLI/vendor/github.com/mattn/go-runewidth
Sebastiaan van Stijn 44fce07069
vendor: github.com/mattn/go-runewidth v0.0.14
Contains various performance optimisations.

full diff: https://github.com/mattn/go-runewidth/compare/v0.0.13...v0.0.14

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-05-05 02:37:12 +02:00
..
LICENSE use our own version of text/tabwriter 2022-04-25 15:01:41 +02:00
README.md vendor: github.com/mattn/go-runewidth v0.0.14 2023-05-05 02:37:12 +02:00
runewidth.go vendor: github.com/mattn/go-runewidth v0.0.14 2023-05-05 02:37:12 +02:00
runewidth_appengine.go vendor: github.com/mattn/go-runewidth v0.0.14 2023-05-05 02:37:12 +02:00
runewidth_js.go vendor: github.com/mattn/go-runewidth v0.0.14 2023-05-05 02:37:12 +02:00
runewidth_posix.go vendor: github.com/mattn/go-runewidth v0.0.14 2023-05-05 02:37:12 +02:00
runewidth_table.go use our own version of text/tabwriter 2022-04-25 15:01:41 +02:00
runewidth_windows.go vendor: github.com/mattn/go-runewidth v0.0.14 2023-05-05 02:37:12 +02: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