Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame^] | 1 | go-runewidth |
| 2 | ============ |
| 3 | |
| 4 | [![Build Status](https://travis-ci.org/mattn/go-runewidth.png?branch=master)](https://travis-ci.org/mattn/go-runewidth) |
| 5 | [![Coverage Status](https://coveralls.io/repos/mattn/go-runewidth/badge.png?branch=HEAD)](https://coveralls.io/r/mattn/go-runewidth?branch=HEAD) |
| 6 | [![GoDoc](https://godoc.org/github.com/mattn/go-runewidth?status.svg)](http://godoc.org/github.com/mattn/go-runewidth) |
| 7 | [![Go Report Card](https://goreportcard.com/badge/github.com/mattn/go-runewidth)](https://goreportcard.com/report/github.com/mattn/go-runewidth) |
| 8 | |
| 9 | Provides functions to get fixed width of the character or string. |
| 10 | |
| 11 | Usage |
| 12 | ----- |
| 13 | |
| 14 | ```go |
| 15 | runewidth.StringWidth("つのだ☆HIRO") == 12 |
| 16 | ``` |
| 17 | |
| 18 | |
| 19 | Author |
| 20 | ------ |
| 21 | |
| 22 | Yasuhiro Matsumoto |
| 23 | |
| 24 | License |
| 25 | ------- |
| 26 | |
| 27 | under the MIT License: http://mattn.mit-license.org/2013 |