SandpointsGitHook/vendor/github.com/mattn/go-runewidth
2021-03-20 23:21:23 +01:00
..
.travis.yml new vendor... 2021-03-20 23:21:23 +01:00
go.mod new vendor... 2021-03-20 23:21:23 +01:00
go.test.sh new vendor... 2021-03-20 23:21:23 +01:00
LICENSE new vendor... 2021-03-20 23:21:23 +01:00
README.md new vendor... 2021-03-20 23:21:23 +01:00
runewidth.go new vendor... 2021-03-20 23:21:23 +01:00
runewidth_appengine.go new vendor... 2021-03-20 23:21:23 +01:00
runewidth_js.go new vendor... 2021-03-20 23:21:23 +01:00
runewidth_posix.go new vendor... 2021-03-20 23:21:23 +01:00
runewidth_table.go new vendor... 2021-03-20 23:21:23 +01:00
runewidth_windows.go new vendor... 2021-03-20 23:21:23 +01:00

go-runewidth
============

[![Build Status](https://travis-ci.org/mattn/go-runewidth.png?branch=master)](https://travis-ci.org/mattn/go-runewidth)
[![Codecov](https://codecov.io/gh/mattn/go-runewidth/branch/master/graph/badge.svg)](https://codecov.io/gh/mattn/go-runewidth)
[![GoDoc](https://godoc.org/github.com/mattn/go-runewidth?status.svg)](http://godoc.org/github.com/mattn/go-runewidth)
[![Go Report Card](https://goreportcard.com/badge/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