mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 08:42:14 +01:00
4f63f283c4
Co-authored-by: techknowlogick <techknowlogick@gitea.io> |
||
---|---|---|
.. | ||
.travis.yml | ||
go.mod | ||
LICENSE | ||
README.mkd | ||
runewidth.go | ||
runewidth_appengine.go | ||
runewidth_js.go | ||
runewidth_posix.go | ||
runewidth_table.go | ||
runewidth_windows.go |
go-runewidth
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