diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index bcd887d76..6181e3eb2 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -340,7 +340,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();