You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
buildx/vendor/github.com/mattn/go-runewidth
Thomas Way cd95d32bb6
imagetools: use docker/cli formatting
Use the formatting packages provided by docker/cli to comply with the official
formatting documentation.

https://docs.docker.com/config/formatting/

The use of the official formatting packages also fixes the format templating.

Fixes: #1175

Signed-off-by: Thomas Way <thomas@6f.io>
2 years ago
..
.travis.yml imagetools: use docker/cli formatting 2 years ago
LICENSE imagetools: use docker/cli formatting 2 years ago
README.md imagetools: use docker/cli formatting 2 years ago
go.test.sh imagetools: use docker/cli formatting 2 years ago
runewidth.go imagetools: use docker/cli formatting 2 years ago
runewidth_appengine.go imagetools: use docker/cli formatting 2 years ago
runewidth_js.go imagetools: use docker/cli formatting 2 years ago
runewidth_posix.go imagetools: use docker/cli formatting 2 years ago
runewidth_table.go imagetools: use docker/cli formatting 2 years ago
runewidth_windows.go imagetools: use docker/cli formatting 2 years ago

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