tea/vendor/github.com/mattn/go-runewidth
6543 0d98cbd657 Update Vendors (#337)
* update & migrate gitea sdk (Fix Delete Tag Issue)
* upgraded github.com/AlecAivazis/survey v2.2.7 => v2.2.8
* upgraded github.com/adrg/xdg v0.2.3 => v0.3.1
* upgraded github.com/araddon/dateparse
* upgraded github.com/olekukonko/tablewriter v0.0.4 => v0.0.5
* upgraded gopkg.in/yaml.v2 v2.3.0 => v2.4.0

Reviewed-on: https://gitea.com/gitea/tea/pulls/337
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: khmarbaise <khmarbaise@noreply.gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2021-03-05 18:06:25 +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 Vendors (#337) 2021-03-05 18:06:25 +08:00
go.sum Update Vendors (#337) 2021-03-05 18:06:25 +08:00
go.test.sh Update Vendors: (#129) 2020-04-30 10:54:11 +00:00
runewidth.go Update Vendors (#337) 2021-03-05 18:06:25 +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 Vendors: (#129) 2020-04-30 10:54:11 +00: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