dthree/vorpal

Hitting CTRL+C while in Inquirer prompt breaks everything

オープン

#42 opened on 2015/11/01

 (16 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (277 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (5,625 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド