fortlit/vendor/github.com/mattn/go-runewidth
2021-02-26 13:53:44 +01:00
..
.travis.yml pterm based refactoring 2021-02-26 13:53:44 +01:00
go.mod pterm based refactoring 2021-02-26 13:53:44 +01:00
go.sum pterm based refactoring 2021-02-26 13:53:44 +01:00
go.test.sh pterm based refactoring 2021-02-26 13:53:44 +01:00
LICENSE pterm based refactoring 2021-02-26 13:53:44 +01:00
README.md pterm based refactoring 2021-02-26 13:53:44 +01:00
runewidth_appengine.go pterm based refactoring 2021-02-26 13:53:44 +01:00
runewidth_js.go pterm based refactoring 2021-02-26 13:53:44 +01:00
runewidth_posix.go pterm based refactoring 2021-02-26 13:53:44 +01:00
runewidth_table.go pterm based refactoring 2021-02-26 13:53:44 +01:00
runewidth_windows.go pterm based refactoring 2021-02-26 13:53:44 +01:00
runewidth.go pterm based refactoring 2021-02-26 13:53:44 +01:00

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