Skip to content
Browse files

use repl options object

  • Loading branch information...
1 parent df85778 commit 25d096b8e3977422030cd4808a2d9fdd5553c3e9 @aheckmann committed Feb 6, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/term.js
View
6 lib/term.js
@@ -5,7 +5,11 @@ var log = require('./log')
module.exports = exports = function (db) {
// start off with an empty prompt so start up logging/debug msgs
// are written without interuption
- var term = repl.start('', null, null, true, true);
+ var term = repl.start({
+ prompt: ''
+ , useGlobal: true
+ , ignoreUndefined: true
+ });
// overwrite the empty prompt line
process.stdout.write('\x1b[1A\r\n');

0 comments on commit 25d096b

Please sign in to comment.
Something went wrong with that request. Please try again.