tea/vendor/github.com/mattn/go-runewidth
6543 3c312cb409 Update Vendors: (#129)
* github.com/araddon/dateparse upgrade => v0.0.0-20200409225146-d820a6159ab1
* code.gitea.io/sdk/gitea upgrade => v0.11.3
* github.com/olekukonko/tablewriter upgrade => v0.0.4
* github.com/mattn/go-runewidth upgrade => v0.0.9
* github.com/stretchr/testify upgrade => v1.5.1
* github.com/davecgh/go-spew upgrade => v1.1.1
* github.com/urfave/cli/v2 upgrade => v2.2.0

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/129
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-04-30 10:54:11 +00: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: (#129) 2020-04-30 10:54:11 +00:00
go.test.sh Update Vendors: (#129) 2020-04-30 10:54:11 +00:00
runewidth.go Update Vendors: (#129) 2020-04-30 10:54:11 +00: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