aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/progress-bar.hh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-07-02 17:09:16 +0200
committereldritch horrors <pennae@lix.systems>2024-07-02 17:16:30 +0200
commite7517419a67438506729409d585b245b77c099ae (patch)
tree4c712c2f688af439875de9ba0d0c8c34f773a3a4 /src/libmain/progress-bar.hh
parent24852355d8975dcc786ddc4d5853043a52e4c78c (diff)
libmain: better fix for #424, #425
not printing activities at all when no progress information is available hides *all* progress information from e.g. flake show. this is not ideal and needs to be fixed, but the fix *still* has problems with flake show: in multiline mode we will overwrite all useful flake show output as soon as the progress bar is redrawn. flake show output is also mangled in any number of other situations (like -v being set), so we should probably be not too worried about it and fix progress reporting properly another day Change-Id: I6d39d670e261bbae00560b6a8e15dec8e16b35c4
Diffstat (limited to 'src/libmain/progress-bar.hh')
-rw-r--r--src/libmain/progress-bar.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libmain/progress-bar.hh b/src/libmain/progress-bar.hh
index ad500de6e..8343beff1 100644
--- a/src/libmain/progress-bar.hh
+++ b/src/libmain/progress-bar.hh
@@ -108,6 +108,9 @@ struct ProgressBar : public Logger
void setPrintBuildLogs(bool printBuildLogs) override;
void setPrintMultiline(bool printMultiline) override;
+
+private:
+ void eraseProgressDisplay(State & state);
};
Logger * makeProgressBar();