dthree/vorpal

Hitting CTRL+C while in Inquirer prompt breaks everything

Open

#42 aberto em 1 de nov. de 2015

Ver no GitHub
 (16 comments) (0 reactions) (0 assignees)JavaScript (313 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (5.609 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador