diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-09-13 16:57:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-13 16:57:30 +0200 |
commit | b56906aae025b467111e67ed7b1bab485b3dbba5 (patch) | |
tree | bdc5dbda95f454bdd4a685062ea5f525dff25384 /src | |
parent | 0f64bf445a229c4f5ce19dc19a552f58701ca1ca (diff) | |
parent | c6ff33ff5c83a546fc6e82055aa04abfe41011dc (diff) |
Merge pull request #7032 from edolstra/stop-progress-bar
RunPager: Stop the progress bar
Diffstat (limited to 'src')
-rw-r--r-- | src/libmain/shared.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index 52b75f757..c1cf38565 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -4,6 +4,7 @@ #include "gc-store.hh" #include "util.hh" #include "loggers.hh" +#include "progress-bar.hh" #include <algorithm> #include <cctype> @@ -422,6 +423,8 @@ RunPager::RunPager() if (!pager) pager = getenv("PAGER"); if (pager && ((std::string) pager == "" || (std::string) pager == "cat")) return; + stopProgressBar(); + Pipe toPager; toPager.create(); |