Skip to content

Commit

Permalink
Merge pull request #7358 from ncfavier/repl-exit-newline
Browse files Browse the repository at this point in the history
repl: print a newline on ctrl-D
  • Loading branch information
edolstra authored Nov 29, 2022
2 parents 4dda672 + 9b35cc7 commit af8a321
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcmd/repl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ void NixRepl::mainLoop()
// ctrl-D should exit the debugger.
state->debugStop = false;
state->debugQuit = true;
logger->cout("");
break;
}
try {
Expand Down

0 comments on commit af8a321

Please sign in to comment.