blob: aa56ab96c2b9d3c9665c5b6ae5fd63a9d604c3f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
go-runewidth
============
[](https://travis-ci.org/mattn/go-runewidth)
[](https://codecov.io/gh/mattn/go-runewidth)
[](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
|