github.com/chipaca/width
Package width defines an interface, `StringWidther`, and a couple of trivial implementations of that interface, to allow you to build things where the length of a string and its width on screen are independent of one another. This is useful for embedding escape sequences, for example, as well as for accounting for glyphs of varying on-screen width.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 4 years ago
v0.0.0-20220425093736-1452e9bdab6b
almost 4 years ago
Versions
2
2
Dependent Packages
2
2
Dependent Repos
2
2
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/chipaca/width
spec |
| License | MIT |
| Namespace | github.com/chipaca |
| First Release | almost 4 years ago |
| Last Synced | 6 days ago |
Rankings on proxy.golang.org
Dependent packages
Top 4.2%
Dependent repos
Top 3.5%
Docker downloads
Top 1.0%