diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index 26b032693..a7cd15efe 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -351,7 +351,6 @@ bool NixRepl::getLine(std::string & input, const std::string & prompt) }; setupSignals(); - Finally resetTerminal([&]() { rl_deprep_terminal(); }); char * s = readline(prompt.c_str()); Finally doFree([&]() { free(s); }); restoreSignals();