Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hober/519891 to your computer and use it in GitHub Desktop.
Save hober/519891 to your computer and use it in GitHub Desktop.
Type '.help' for options.
^[[0Gnode> ^[[0K^[[0G^[[6C
^[[0G^[[0Gnode> ^[[0K^[[0G^[[6Ca
a
^[[0GReferenceError: a is not defined
at [object Context]:1:1
at Interface.<anonymous> (repl:77:19)
at Interface.emit (events:26:26)
at Interface._ttyWrite (readline:221:12)
at Interface._ttyWrite (readline:325:16)
at Interface.write (readline:120:27)
at Stream.<anonymous> (repl:58:9)
at Stream.emit (events:26:26)
at IOWatcher.callback (net:512:16)
at node.js:773:9
^[[0Gnode> ^[[0K^[[0G^[[6Cprocess.env['TERM']
process.env['TERM']
^[[0G'dumb'
^[[0Gnode> ^[[0K^[[0G^[[6C
@hober
Copy link
Author

hober commented Feb 5, 2011

One workaround is to set NODE_NO_READLINE to 1 in your environment.

@kmt
Copy link

kmt commented Feb 5, 2011

Yes, I looked into the code and I saw that. But now, there's no tab completion. Do you know of a solution for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment