Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
Display more informative prompts in pdp11 command-line app
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpar committed Dec 30, 2016
1 parent 5caa5ac commit 883ac1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/pdp11/bin/pdp11
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,10 @@ function startInput()
stdin.setRawMode(false);
stdin.pause();
if (buf[1] == 0x72) {
console.log("alt-r detected, starting REPL...");
startREPL();
} else {
console.log("exiting...");
console.log("alt-x detected, exiting...");
process.exit();
}
return;
Expand All @@ -509,7 +510,6 @@ function startInput()
*/
function startREPL()
{
console.log("starting REPL...");
replServer = repl.start({
prompt: "PDP11> ",
input: process.stdin,
Expand Down

0 comments on commit 883ac1b

Please sign in to comment.