dthree/vorpal

Hitting CTRL+C while in Inquirer prompt breaks everything

Aperta

#42 aperta il 1 nov 2015

 (16 commenti) (0 reazioni) (0 assegnatari)JavaScript (277 fork)batch import
bughelp wanted

Metriche repository

Star
 (5625 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

The output looks like this:

(^C again to quit)
function (str) {
  if (str === undefined) {
    return this._delimiter;
  }
  this._delimiter = String(str).trim() + ' ';
  if (this.isLocal()) {
    this.parent.ui.refresh();
  } else {
    this.parent._send('vantage-delimiter-downstream', 'downstream', {value: str, sessionId: this.id});
  }
  return this;
}
_

You can still type but nothing happens. Only way to recover is hitting CTRL+C again.

Guida contributor