https://github.com/mattn/Go-runewidth
wcwidth for golang
https://github.com/mattn/Go-runewidth
go golang wcwidth windows
Last synced: 4 months 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 (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-07-22T13:03:23.000Z (12 months ago)
- Last Synced: 2024-10-29T14:04:49.662Z (9 months 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
README
go-runewidth
============[](https://github.com/mattn/go-runewidth/actions?query=workflow%3Atest)
[](https://codecov.io/gh/mattn/go-runewidth)
[](http://godoc.org/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