diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2011-12-09 15:24:15 +0600 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-12-19 11:09:16 -0800 |
commit | c07edd90f5bfb4edb98b57e76e56742e08142b91 (patch) | |
tree | 4dbfc6c67960716da6936c9b3dcbcb9fb931198f /lib/_debugger.js | |
parent | d9377f5eb0ca6b0dbf529c09f8506a141903250b (diff) | |
download | node-new-c07edd90f5bfb4edb98b57e76e56742e08142b91.tar.gz |
preserve cursor pos
* configurable via .prompt()'s preserveCursor argument (false by default)
Diffstat (limited to 'lib/_debugger.js')
-rw-r--r-- | lib/_debugger.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_debugger.js b/lib/_debugger.js index b0fb61cc6c..a97eca15ff 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -867,7 +867,7 @@ Interface.prototype.childPrint = function(text) { }).map(function(chunk) { return '< ' + chunk; }).join('\n')); - this.repl.displayPrompt(); + this.repl.displayPrompt(true); }; // Errors formatting |