Skip to content

Commit

Permalink
Restore prompt to REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
hoelzro committed Apr 21, 2015
1 parent 384b661 commit 9158824
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HLL/Compiler.nqp
Expand Up @@ -67,6 +67,7 @@ class HLL::Compiler does HLL::Backend::Default {
while 1 {
last if nqp::eoffh($stdin);

nqp::printfh(nqp::getstdout(), ~$prompt);
my str $newcode := nqp::readlinefh($stdin);
if nqp::isnull_s($newcode) || !nqp::defined($newcode) {
nqp::print("\n");
Expand Down

0 comments on commit 9158824

Please sign in to comment.