diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-04-10 12:00:55 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-04-10 12:40:59 +0200 |
commit | 9e1e046040182d8c4bb6e847bcd331862f9015bb (patch) | |
tree | ab9a69d70eda71906fb7df76b0ea0aba3c10ae50 /gnu/installer/newt/utils.scm | |
parent | 402627714b8ba75be48b1c8fbd46cfd4cfe8238f (diff) | |
download | guix-9e1e046040182d8c4bb6e847bcd331862f9015bb.tar.gz guix-9e1e046040182d8c4bb6e847bcd331862f9015bb.zip |
ui: Colorize diagnostics.
* guix/ui.scm (define-diagnostic): Add 'colors' parameter and pass it to
'print-diagnostic-prefix'.
(warning, info, report-error): Add extra argument.
(%warning-colors, %info-colors, %error-colors): New variables.
(print-diagnostic-prefix): Add #:colors parameter and honor it.
Diffstat (limited to 'gnu/installer/newt/utils.scm')
0 files changed, 0 insertions, 0 deletions