aboutsummaryrefslogtreecommitdiff
path: root/lib/ansi.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix stripping hex color formattingdelthas2022-12-021-1/+23
| | | | | | | | | | | Hex colors can be set with the same formats as the regular colors: <CODE>, <CODE><COLOR>, or <CODE><COLOR>,<COLOR>. Previously we only supporteed <CODE><COLOR>. This patch enables stripping colors for all valid color formats. Co-authored-by: Simon Ser <contact@emersion.fr>
* s/var/let/Simon Ser2021-06-101-3/+3
|
* Strip ANSI escape sequencesSimon Ser2020-08-041-0/+53
References: https://todo.sr.ht/~emersion/gamja/11