subsonic-tui/vendor/github.com/mattn/go-runewidth
Sagi Dayan 26e526f07e
initial commit
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-02-20 19:10:14 +02:00
..
LICENSE initial commit 2024-02-20 19:10:14 +02:00
README.md initial commit 2024-02-20 19:10:14 +02:00
runewidth.go initial commit 2024-02-20 19:10:14 +02:00
runewidth_appengine.go initial commit 2024-02-20 19:10:14 +02:00
runewidth_js.go initial commit 2024-02-20 19:10:14 +02:00
runewidth_posix.go initial commit 2024-02-20 19:10:14 +02:00
runewidth_table.go initial commit 2024-02-20 19:10:14 +02:00
runewidth_windows.go initial commit 2024-02-20 19:10:14 +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