aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-04-11 11:42:17 +0200
committerEelco Dolstra <edolstra@gmail.com>2018-04-11 11:42:17 +0200
commit1839a5542acf4544633e104ecc0a99cbf6b8ba5a (patch)
tree0c70567ac9ef25c3e3e129bd74159e12affdc801
parentd6aaa354788a72f792b7bf909b69a216b8634408 (diff)
Fix #2057
-rw-r--r--src/nix/repl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/repl.cc b/src/nix/repl.cc
index 921620917..9782e835a 100644
--- a/src/nix/repl.cc
+++ b/src/nix/repl.cc
@@ -197,6 +197,7 @@ bool NixRepl::getLine(string & input, const std::string &prompt)
}
}
input += s;
+ input += '\n';
return true;
}