From 8ddfeb2fb65dd45267d8f7abfc540d2b8cb73a5c Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 12 Apr 2024 12:00:45 +0200 Subject: OpProgress: Erase lines when done It's interesting to the user to see the progress when it happens, but arguably once it's done it is just visual clutter, so let's not write newlines, and when we are done, instead of appending "Done", let's just empty the line. This requires some effort to keep apt-cdrom happy which just writes lines to stdout itself. Bad apt-cdrom. Maybe there is a better fix for it, but this gets us going. --- doc/examples/configure-index | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/examples/configure-index b/doc/examples/configure-index index 9a2bcbf1c..a8fc98daa 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -881,6 +881,7 @@ Rred::f ""; Rred::Compress ""; APT::Internal::OpProgress::Absolute ""; +APT::Internal::OpProgress::EraseLines ""; APT::Color ""; update-manager::always-include-phased-updates ""; -- cgit v1.2.3-70-g09d2