Permalink
Browse files

[ux] Do not log input to the screen

  • Loading branch information...
1 parent 48a608c commit 3095ad204e7bfe283a70d1e9bc51d532b0f71163 @jfhbrook committed Jan 27, 2013
Showing with 2 additions and 5 deletions.
  1. +2 −5 lib/prompt.js
View
@@ -35,7 +35,6 @@ var stdin = process.stdin,
var prompt = module.exports = Object.create(events.EventEmitter.prototype);
var logger = prompt.logger = {
help: 'cyan',
- input: 'grey',
error: 'red'
};
Object.keys(logger).forEach(function (lvl) {
@@ -611,11 +610,9 @@ prompt.getInput = function (prop, callback) {
}
//
- // Log the resulting line, append this `property:value`
- // pair to the history for `prompt` and respond to
- // the callback.
+ // Append this `property:value` pair to the history for `prompt`
+ // and respond to the callback.
//
- logger.input(line.yellow);
prompt._remember(propName, line);
callback(null, line);

0 comments on commit 3095ad2

Please sign in to comment.