dthree/vorpal

Hitting CTRL+C while in Inquirer prompt breaks everything

Offen

#42 geöffnet am 01.11.2015

 (16 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (277 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (5.625 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide