Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattn/go-runewidth
wcwidth for golang
https://github.com/mattn/go-runewidth
go golang wcwidth windows
Last synced: 2 days ago
JSON representation
wcwidth for golang
- Host: GitHub
- URL: https://github.com/mattn/go-runewidth
- Owner: mattn
- License: mit
- Created: 2013-06-21T04:56:50.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-07-22T13:03:23.000Z (5 months ago)
- Last Synced: 2024-10-29T14:04:49.662Z (about 1 month ago)
- Topics: go, golang, wcwidth, windows
- Language: Go
- Homepage:
- Size: 149 KB
- Stars: 606
- Watchers: 13
- Forks: 94
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-go - go-runewidth - Functions to get fixed width of the character or string. (Text Processing / Utility/Miscellaneous)
- go-awesome - go-runewidth - character length calculation (Open source library / Word Processing)
- awesome-go - go-runewidth - ★ 157 (Text Processing)
- awesome-go-extra - go-runewidth - 06-21T04:56:50Z|2022-07-28T09:42:15Z| (Bot Building / Utility/Miscellaneous)
README
go-runewidth
============[![Build Status](https://github.com/mattn/go-runewidth/workflows/test/badge.svg?branch=master)](https://github.com/mattn/go-runewidth/actions?query=workflow%3Atest)
[![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