Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 20-Mar-2020 | - | |||
script/ | H | 20-Mar-2020 | - | |||
.travis.yml | H A D | 20-Mar-2020 | 224 | |||
LICENSE | H A D | 20-Mar-2020 | 1.1 KiB | |||
README.md | H A D | 20-Mar-2020 | 788 | |||
benchmark_test.go | H A D | 20-Mar-2020 | 932 | |||
go.mod | H A D | 20-Mar-2020 | 45 | |||
go.test.sh | H A D | 20-Mar-2020 | 273 | |||
runewidth.go | H A D | 20-Mar-2020 | 5.2 KiB | |||
runewidth_appengine.go | H A D | 20-Mar-2020 | 138 | |||
runewidth_js.go | H A D | 20-Mar-2020 | 190 | |||
runewidth_posix.go | H A D | 20-Mar-2020 | 1.4 KiB | |||
runewidth_posix_test.go | H A D | 20-Mar-2020 | 1.7 KiB | |||
runewidth_table.go | H A D | 20-Mar-2020 | 23.3 KiB | |||
runewidth_test.go | H A D | 20-Mar-2020 | 10.1 KiB | |||
runewidth_windows.go | H A D | 20-Mar-2020 | 456 |
README.md
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[![Codecov](https://codecov.io/gh/mattn/go-runewidth/branch/master/graph/badge.svg)](https://codecov.io/gh/mattn/go-runewidth) 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