github.com/chipaca/escapes
Package escapes has a handful of useful functions for when you're wanting to send formatting escape sequences to the terminal while tracking the width of your output for alignment purposes. The escape sequences always restore things back to 'normal' when done, which could be considered suboptimal when adding styles but keeps things sane. This does not use terminfo, and just relies on ECMA-48 and related ANSI standards; see https://en.wikipedia.org/wiki/ANSI_escape_code for too much and yet too little detail.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 4 years ago
v0.0.0-20220428151415-3a5d8bef45cf
almost 4 years ago
Versions
1
1
Dependent Packages
1
1
Dependent Repos
1
1
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/escapes
spec |
| License | MIT |
| Namespace | github.com/chipaca |
| First Release | almost 4 years ago |
| Last Synced | 9 days ago |
Rankings on proxy.golang.org
Dependent packages
Top 5.8%
Dependent repos
Top 4.7%
Docker downloads
Top 1.0%