status-go/vendor/github.com/mattn/go-runewidth
Igor Sirotin f15c64ced3
chore_: add sentry-go dependency (#6052)
2024-11-06 17:37:08 +00:00
..
LICENSE
README.md chore_: add sentry-go dependency (#6052) 2024-11-06 17:37:08 +00:00
runewidth.go chore_: add sentry-go dependency (#6052) 2024-11-06 17:37:08 +00:00
runewidth_appengine.go chore_: add sentry-go dependency (#6052) 2024-11-06 17:37:08 +00:00
runewidth_js.go chore_: add sentry-go dependency (#6052) 2024-11-06 17:37:08 +00:00
runewidth_posix.go chore_: add sentry-go dependency (#6052) 2024-11-06 17:37:08 +00:00
runewidth_table.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
runewidth_windows.go chore_: add sentry-go dependency (#6052) 2024-11-06 17:37:08 +00: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