summary refs log tree commit diff
path: root/gnu/ci.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-12-09 17:47:08 +0100
committerLudovic Courtès <ludo@gnu.org>2022-12-09 17:49:22 +0100
commit591af24ade1021d91a3e7c62fcc7a8c90f00d4bb (patch)
tree5bb5df57945451751d176a50a7d2c042d621eef4 /gnu/ci.scm
parent556520a33c8a62fc80ac9ab925f86f08986d138b (diff)
downloadguix-591af24ade1021d91a3e7c62fcc7a8c90f00d4bb.tar.gz
installer: Print progress bars and such as soon as \r is read.
Fixes <https://issues.guix.gnu.org/59922>.

Previously progress bars and related things would be buffered by
'run-external-command-with-line-hooks' until \n is read.

* gnu/installer/utils.scm (run-external-command-with-line-hooks): Use
'read-delimited' rather than 'get-line'.  Pass 'concat as the last
argument.
(%display-line-hook): Remove.
(run-command): Use 'display' instead of '%display-line-hook'.
(%syslog-line-hook): Add "\n" when LINE doesn't end in \n.
(%installer-log-line-hook): Do not add an extra newline.
(installer-log-line): Add an extra newline.
Diffstat (limited to 'gnu/ci.scm')
0 files changed, 0 insertions, 0 deletions