From c07edd90f5bfb4edb98b57e76e56742e08142b91 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Fri, 9 Dec 2011 15:24:15 +0600 Subject: preserve cursor pos * configurable via .prompt()'s preserveCursor argument (false by default) --- lib/_debugger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/_debugger.js') 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 -- cgit v1.2.1