aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/shared.cc
diff options
context:
space:
mode:
authoralois31 <alois1@gmx-topmail.de>2024-07-02 14:12:07 +0000
committerGerrit Code Review <gerrit@localhost>2024-07-02 14:12:07 +0000
commit24852355d8975dcc786ddc4d5853043a52e4c78c (patch)
treef97dd0189e0baa79f261dafd38644c59c9a42f44 /src/libmain/shared.cc
parent865a3732faca16a79bf24982011adf100de04463 (diff)
parent0dd1d8ca1cdccfc620644a7f690ed35bcd2d1e74 (diff)
Merge "tree-wide: unify progress bar inactive and paused states" into main
Diffstat (limited to 'src/libmain/shared.cc')
-rw-r--r--src/libmain/shared.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 29538a9ca..81ca204e3 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -4,7 +4,6 @@
#include "gc-store.hh"
#include "signals.hh"
#include "loggers.hh"
-#include "progress-bar.hh"
#include "current-process.hh"
#include <algorithm>
@@ -349,7 +348,7 @@ RunPager::RunPager()
if (!pager) pager = getenv("PAGER");
if (pager && ((std::string) pager == "" || (std::string) pager == "cat")) return;
- stopProgressBar();
+ logger->pause();
Pipe toPager;
toPager.create();