dthree/vorpal

Hitting CTRL+C while in Inquirer prompt breaks everything

Open

#42 ouverte le 1 nov. 2015

Voir sur GitHub
 (16 commentaires) (0 réactions) (0 assignés)JavaScript (313 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (5 609 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur