aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--forth.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/forth.js b/forth.js
index 54b9d1d..a169ca6 100644
--- a/forth.js
+++ b/forth.js
@@ -147,7 +147,7 @@ if (typeof window !== 'undefined') { // browser UI
} else { // UI if NodeJS
const readline = require('readline');
- const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
+ const rl = readline.createInterface({ input: process.stdin, output: process.stderr });
const prompt = (query) => new Promise((resolve) => rl.question(query, resolve));
const m = forth();
(async () => {