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 | ||
LICENSE | ||
README.md | ||
go.mod | ||
go.sum | ||
go.test.sh | ||
runewidth.go | ||
runewidth_appengine.go | ||
runewidth_js.go | ||
runewidth_posix.go | ||
runewidth_table.go | ||
runewidth_windows.go |
README.md
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