matterbridge/vendor/github.com/mattn/go-runewidth
Wim 393f9e998b
Update dependencies / vendor (#1146)
2020-05-24 00:06:21 +02:00
..
.travis.yml Update dependencies / vendor (#1146) 2020-05-24 00:06:21 +02:00
LICENSE Add initial Microsoft Teams support 2020-03-01 22:19:33 +01:00
README.md Update dependencies / vendor (#1146) 2020-05-24 00:06:21 +02:00
go.mod Add initial Microsoft Teams support 2020-03-01 22:19:33 +01:00
go.test.sh Update dependencies / vendor (#1146) 2020-05-24 00:06:21 +02:00
runewidth.go Update dependencies / vendor (#1146) 2020-05-24 00:06:21 +02:00
runewidth_appengine.go Add initial Microsoft Teams support 2020-03-01 22:19:33 +01:00
runewidth_js.go Add initial Microsoft Teams support 2020-03-01 22:19:33 +01:00
runewidth_posix.go Add initial Microsoft Teams support 2020-03-01 22:19:33 +01:00
runewidth_table.go Update dependencies / vendor (#1146) 2020-05-24 00:06:21 +02:00
runewidth_windows.go Add initial Microsoft Teams support 2020-03-01 22:19:33 +01: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