2019-08-26 16:53:38 +02:00
|
|
|
go-runewidth
|
|
|
|
============
|
|
|
|
|
2022-09-23 20:01:44 +09:00
|
|
|
[](https://github.com/mattn/go-runewidth/actions?query=workflow%3Atest)
|
2020-02-01 00:07:13 +11:00
|
|
|
[](https://codecov.io/gh/mattn/go-runewidth)
|
2019-08-26 16:53:38 +02:00
|
|
|
[](http://godoc.org/github.com/mattn/go-runewidth)
|
|
|
|
[](https://goreportcard.com/report/github.com/mattn/go-runewidth)
|
|
|
|
|
|
|
|
Provides functions to get fixed width of the character or string.
|
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
```go
|
|
|
|
runewidth.StringWidth("つのだ☆HIRO") == 12
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
|
|
|
|
|
|
|
Yasuhiro Matsumoto
|
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
under the MIT License: http://mattn.mit-license.org/2013
|