You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matterbridge/vendor/github.com/mattn/go-runewidth
Wim 4dd8bae5c9
Update dependencies (#1610)
* Update dependencies

* Update module to go 1.17
3 years ago
..
.travis.yml Update dependencies / vendor (#1146) 4 years ago
LICENSE Add initial Microsoft Teams support 4 years ago
README.md Update dependencies / vendor (#1146) 4 years ago
go.test.sh Update dependencies / vendor (#1146) 4 years ago
runewidth.go Update vendor 3 years ago
runewidth_appengine.go Add initial Microsoft Teams support 4 years ago
runewidth_js.go Add initial Microsoft Teams support 4 years ago
runewidth_posix.go Use mattermost v5 module (#1192) 4 years ago
runewidth_table.go Update vendor 3 years ago
runewidth_windows.go Add initial Microsoft Teams support 4 years ago

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