mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-29 05:46:54 +01:00
d6df0a53b5
Co-authored-by: Norwin Roosen <git@nroo.de> Co-authored-by: Norwin <git@nroo.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/390 Reviewed-by: 6543 <6543@obermui.de> Reviewed-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io> |
||
---|---|---|
.. | ||
.travis.yml | ||
go.mod | ||
go.sum | ||
go.test.sh | ||
LICENSE | ||
README.md | ||
runewidth_appengine.go | ||
runewidth_js.go | ||
runewidth_posix.go | ||
runewidth_table.go | ||
runewidth_windows.go | ||
runewidth.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