repl: fix overwrite for this._prompt