debugger: don't set the repl.prompt string

It wasn't doing anything, and actually due to
3ae0b17c76, it was causing
the readline `prompt()` function to be overwritten
which throws an error in the REPL shortly after.
This commit is contained in:
Nathan Rajlich
2014-02-20 22:13:41 -08:00
committed by Timothy J Fontaine
parent b105997193
commit e746bbdc2b

View File

@@ -1558,7 +1558,6 @@ Interface.prototype.repl = function() {
this.history.control = this.repl.rli.history;
this.repl.rli.history = this.history.debug;
this.repl.prompt = '> ';
this.repl.rli.setPrompt('> ');
this.repl.displayPrompt();
};
@@ -1574,7 +1573,6 @@ Interface.prototype.exitRepl = function() {
this.repl.rli.history = this.history.control;
this.repl.context = this.context;
this.repl.prompt = 'debug> ';
this.repl.rli.setPrompt('debug> ');
this.repl.displayPrompt();
};