gitea-tea/vendor/github.com/mattn/go-runewidth
Norwin d6df0a53b5 Update Dependencies (#390)
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>
2021-08-30 23:18:50 +08:00
..
.travis.yml Update Vendors: (#129) 2020-04-30 10:54:11 +00:00
LICENSE unified output (#14) (#40) 2019-09-15 08:38:18 +00:00
README.md Update Vendors: (#129) 2020-04-30 10:54:11 +00:00
go.mod Update Dependencies (#390) 2021-08-30 23:18:50 +08:00
go.sum Update Dependencies (#390) 2021-08-30 23:18:50 +08:00
go.test.sh Update Vendors: (#129) 2020-04-30 10:54:11 +00:00
runewidth.go Update Dependencies (#390) 2021-08-30 23:18:50 +08:00
runewidth_appengine.go unified output (#14) (#40) 2019-09-15 08:38:18 +00:00
runewidth_js.go unified output (#14) (#40) 2019-09-15 08:38:18 +00:00
runewidth_posix.go Update Vendors: (#129) 2020-04-30 10:54:11 +00:00
runewidth_table.go Update Dependencies (#390) 2021-08-30 23:18:50 +08:00
runewidth_windows.go unified output (#14) (#40) 2019-09-15 08:38:18 +00:00

README.md

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