mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-25 12:01:36 +01:00
3c312cb409
* github.com/araddon/dateparse upgrade => v0.0.0-20200409225146-d820a6159ab1 * code.gitea.io/sdk/gitea upgrade => v0.11.3 * github.com/olekukonko/tablewriter upgrade => v0.0.4 * github.com/mattn/go-runewidth upgrade => v0.0.9 * github.com/stretchr/testify upgrade => v1.5.1 * github.com/davecgh/go-spew upgrade => v1.1.1 * github.com/urfave/cli/v2 upgrade => v2.2.0 Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/129 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
28 lines
788 B
Markdown
28 lines
788 B
Markdown
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
|