diff options
author | Naïm Favier <n@monade.li> | 2022-11-28 10:38:23 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-11-28 10:38:23 +0100 |
commit | 04ec1575177709dd3c1bd147cb8d0966237663d6 (patch) | |
tree | 3aa2bd2997aa224d75d5972e0f401b831e02c9ef /src/libcmd | |
parent | cc308ee93d5b2027e1270295daa860fd73b71917 (diff) |
repl: print a newline on ctrl-D
Diffstat (limited to 'src/libcmd')
-rw-r--r-- | src/libcmd/repl.cc | 1 |
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 { |