Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.travis.yml | H A D | 04-Mar-2018 | 205 | |||
LICENSE | H A D | 04-Mar-2018 | 1.1 KiB | |||
README.mkd | H A D | 04-Mar-2018 | 806 | |||
runewidth.go | H A D | 04-Mar-2018 | 59.8 KiB | |||
runewidth_js.go | H A D | 04-Mar-2018 | 169 | |||
runewidth_posix.go | H A D | 04-Mar-2018 | 1.3 KiB | |||
runewidth_posix_test.go | H A D | 04-Mar-2018 | 1.4 KiB | |||
runewidth_test.go | H A D | 04-Mar-2018 | 6.4 KiB | |||
runewidth_windows.go | H A D | 04-Mar-2018 | 416 |
README.mkd
1go-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 9Provides functions to get fixed width of the character or string. 10 11Usage 12----- 13 14```go 15runewidth.StringWidth("つのだ☆HIRO") == 12 16``` 17 18 19Author 20------ 21 22Yasuhiro Matsumoto 23 24License 25------- 26 27under the MIT License: http://mattn.mit-license.org/2013 28