aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-11-28 14:59:06 +0100
committerGitHub <noreply@github.com>2022-11-28 14:59:06 +0100
commit9b35cc716b392dfb96a0e994349137f653b9c532 (patch)
treed8a60911e9ad62ac244c22583cc429f6e5510409 /src/libcmd
parent04ec1575177709dd3c1bd147cb8d0966237663d6 (diff)
use logger->cout
in order to avoid potential problems with the progress bar Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
Diffstat (limited to 'src/libcmd')
-rw-r--r--src/libcmd/repl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc
index ddf0d9a0a..557952277 100644
--- a/src/libcmd/repl.cc
+++ b/src/libcmd/repl.cc
@@ -270,7 +270,7 @@ void NixRepl::mainLoop()
// ctrl-D should exit the debugger.
state->debugStop = false;
state->debugQuit = true;
- std::cout << std::endl;
+ logger->cout("");
break;
}
try {