diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-04-11 16:57:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-04-11 18:18:13 +0200 |
commit | 2569ef9dab4f796a75b8cdddd57d3be37b142036 (patch) | |
tree | 34b527c015552944c1a6fd1bb855dd45e36084bc /ROADMAP | |
parent | c1df77e215b6e69dccbe781307836a3b962c5968 (diff) | |
download | patches-2569ef9dab4f796a75b8cdddd57d3be37b142036.tar patches-2569ef9dab4f796a75b8cdddd57d3be37b142036.tar.gz |
colors: Introduce a disjoint type and pre-compute ANSI escapes.
* guix/colors.scm (color-table, color): Remove.
(<color>): New record type.
(print-color): New procedure.
(define-color-table, color): New macros.
(color-codes->ansi): New procedure.
(%reset): New variable.
(colorize-string): Rewrite accordingly.
(color-rules): Adjust accordingly.
* guix/status.scm (print-build-event): Adjust to new 'colorize-string'
interface.
* guix/ui.scm (%highlight-argument): Likewise.
(%warning-colors, %info-colors, %error-colors, %hint-colors)
(%highlight-colors): Remove.
(%warning-color, %info-color, %error-color, %hint-color)
(%highlight-color): New variables.
Diffstat (limited to 'ROADMAP')
0 files changed, 0 insertions, 0 deletions