Git with a cup of tea, painless self-hosted git service Mirror for internal git.with.parts use https://git.with.parts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
gitea/vendor/github.com/mattn/go-runewidth
6543 d1353e1f7c
Vendor Update (#14496)
4 years ago
..
.travis.yml update revive lint to latest commit (#12921) 4 years ago
LICENSE
README.md update revive lint to latest commit (#12921) 4 years ago
go.mod Vendor Update (#14496) 4 years ago
go.sum Vendor Update (#14496) 4 years ago
go.test.sh update revive lint to latest commit (#12921) 4 years ago
runewidth.go Vendor Update (#14496) 4 years ago
runewidth_appengine.go
runewidth_js.go
runewidth_posix.go update revive lint to latest commit (#12921) 4 years ago
runewidth_table.go update revive lint to latest commit (#12921) 4 years ago
runewidth_windows.go

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