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

..03-May-2022-

.github/H20-Mar-2020-

script/H20-Mar-2020-

.travis.ymlH A D20-Mar-2020224

LICENSEH A D20-Mar-20201.1 KiB

README.mdH A D20-Mar-2020788

benchmark_test.goH A D20-Mar-2020932

go.modH A D20-Mar-202045

go.test.shH A D20-Mar-2020273

runewidth.goH A D20-Mar-20205.2 KiB

runewidth_appengine.goH A D20-Mar-2020138

runewidth_js.goH A D20-Mar-2020190

runewidth_posix.goH A D20-Mar-20201.4 KiB

runewidth_posix_test.goH A D20-Mar-20201.7 KiB

runewidth_table.goH A D20-Mar-202023.3 KiB

runewidth_test.goH A D20-Mar-202010.1 KiB

runewidth_windows.goH A D20-Mar-2020456

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