Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2347 from heyLu/fix-repl

fix repl completion and navigation
  • Loading branch information...
commit 6838bae36e0956ba3b957cc1c92473261223827e 2 parents 972a529 + 01d4e87
@jashkenas authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/coffee-script/repl.js
  2. +1 −1  src/repl.coffee
View
2  lib/coffee-script/repl.js
@@ -156,7 +156,7 @@
return repl.prompt();
};
- if (stdin.readable) {
+ if (stdin.readable && stdin.isRaw) {
pipedInput = '';
repl = {
prompt: function() {
View
2  src/repl.coffee
@@ -115,7 +115,7 @@ run = (buffer) ->
error err
repl.prompt()
-if stdin.readable
+if stdin.readable and stdin.isRaw
# handle piped input
pipedInput = ''
repl =
Please sign in to comment.
Something went wrong with that request. Please try again.