Files
2025-01-06 15:52:00 -08:00
..
2019-12-20 15:20:32 -08:00
2023-04-14 15:38:53 -07:00
2023-04-14 15:38:53 -07:00
2023-04-14 15:38:53 -07:00
2025-01-06 15:52:00 -08:00
2023-04-14 15:38:53 -07: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