• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H11-Jan-2021-

script/H11-Jan-2021-

.travis.ymlH A D11-Jan-2021224

LICENSEH A D11-Jan-20211.1 KiB

README.mdH A D11-Jan-2021788

benchmark_test.goH A D11-Jan-2021932

go.modH A D11-Jan-202184

go.sumH A D11-Jan-2021163

go.test.shH A D11-Jan-2021273

runewidth.goH A D11-Jan-20214.9 KiB

runewidth_appengine.goH A D11-Jan-2021138

runewidth_js.goH A D11-Jan-2021190

runewidth_posix.goH A D11-Jan-20211.4 KiB

runewidth_posix_test.goH A D11-Jan-20211.7 KiB

runewidth_table.goH A D11-Jan-202123.3 KiB

runewidth_test.goH A D11-Jan-202110.1 KiB

runewidth_windows.goH A D11-Jan-2021456

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