aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/repl.cc
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-11-28 10:38:23 +0100
committerNaïm Favier <n@monade.li>2022-11-28 10:38:23 +0100
commit04ec1575177709dd3c1bd147cb8d0966237663d6 (patch)
tree3aa2bd2997aa224d75d5972e0f401b831e02c9ef /src/libcmd/repl.cc
parentcc308ee93d5b2027e1270295daa860fd73b71917 (diff)
repl: print a newline on ctrl-D
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r--src/libcmd/repl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc
index bb254ff8d..ddf0d9a0a 100644
--- a/src/libcmd/repl.cc
+++ b/src/libcmd/repl.cc
@@ -270,6 +270,7 @@ void NixRepl::mainLoop()
// ctrl-D should exit the debugger.
state->debugStop = false;
state->debugQuit = true;
+ std::cout << std::endl;
break;
}
try {