ITP: golang-github-leaanthony-go-ansi-parser - Go library for parsing ANSI escape codes in strings
Package: wnpp
Severity: wishlist
Owner: Azeez Syed <azeezalishah@gmail.com>
* Package name : golang-github-leaanthony-go-ansi-parser
Version : 1.6.1
Upstream Author : Lea Anthony <lea.anthony@gmail.com>
* URL : https://github.com/leaanthony/go-ansi-parser
* License : Expat
Programming Lang: Go
Description : Go library for parsing ANSI escape codes in strings
go-ansi-parser converts strings containing ANSI escape codes into a slice
of structs representing styled text segments. It supports ANSI 16, 256
and TrueColor, all common styles (bold, italic, underline, etc.), and
provides truncation and length calculation that correctly handles emojis
and grapheme clusters.
This package is needed as a dependency for updating golang-github-cli-go-gh-v2
to v2.12.0, which is in turn needed to update gh (GitHub CLI) to v2.73.0
(Closes: #1119130).
Reply to: