summary refs log tree commit diff
path: root/gnu/packages/rpm.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2023-02-03 12:56:03 +0100
committerJulien Lepiller <julien@lepiller.eu>2023-02-19 10:09:15 +0100
commit189525412e3d803f3f77e15ec4a62aaa57f65a2d (patch)
treeab1db7bc06e08a8e81f1535836f6eab592e14743 /gnu/packages/rpm.scm
parent01334a61c7541d8ae29c5252e2e5b3ed7a59c552 (diff)
downloadguix-189525412e3d803f3f77e15ec4a62aaa57f65a2d.tar.gz
guix: Show better progress bars.
Style provides information on the characters to use before and after the
progress bar content (`[` and `]` for the ascii style), as well as the
character for filled step (`#` for ascii style).  When supported, it
provides intermediate steps.  This is used for unicode style, to show
better precision.

* guix/progress.scm (<progress-bar-style>): New record type.
(ascii-bar-style, unicode-bar-style): New variables.
(progress-bar): Draw progress depending on style.  When supported, use
unicode style.  Fall back to ascii style.
Diffstat (limited to 'gnu/packages/rpm.scm')
0 files changed, 0 insertions, 0 deletions