subsonic-tui/vendor/github.com/mattn/go-runewidth
Sagi Dayan a3923cf42c initial commit
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-03-29 17:56:39 +03:00
..
LICENSE initial commit 2024-03-29 17:56:39 +03:00
README.md initial commit 2024-03-29 17:56:39 +03:00
runewidth.go initial commit 2024-03-29 17:56:39 +03:00
runewidth_appengine.go initial commit 2024-03-29 17:56:39 +03:00
runewidth_js.go initial commit 2024-03-29 17:56:39 +03:00
runewidth_posix.go initial commit 2024-03-29 17:56:39 +03:00
runewidth_table.go initial commit 2024-03-29 17:56:39 +03:00
runewidth_windows.go initial commit 2024-03-29 17:56:39 +03: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