peridot/vendor/github.com/mattn/go-runewidth
Mustafa Gezen ad0f7a5305
Major upgrades
Upgrade to Go 1.20.5, Hydra v2 SDK, rules-go v0.44.2 (with proper resolves), protobuf v25.3 and mass upgrade of Go dependencies.
2024-03-17 08:06:08 +01:00
..
.travis.yml Initial commit 2022-07-07 22:13:21 +02:00
BUILD.bazel Initial commit 2022-07-07 22:13:21 +02:00
go.test.sh Initial commit 2022-07-07 22:13:21 +02:00
LICENSE Initial commit 2022-07-07 22:13:21 +02:00
README.md Initial commit 2022-07-07 22:13:21 +02:00
runewidth_appengine.go Initial commit 2022-07-07 22:13:21 +02:00
runewidth_js.go Initial commit 2022-07-07 22:13:21 +02:00
runewidth_posix.go Initial commit 2022-07-07 22:13:21 +02:00
runewidth_table.go Initial commit 2022-07-07 22:13:21 +02:00
runewidth_windows.go Initial commit 2022-07-07 22:13:21 +02:00
runewidth.go Initial commit 2022-07-07 22:13:21 +02:00

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