dthree / vorpal

Node's framework for interactive CLIs
http://vorpal.js.org
MIT License
5.64k stars 280 forks source link

key blocked after first command #249

Open Alaanor opened 7 years ago

Alaanor commented 7 years ago

Hi,

This npm package look just awesome but ... Even with the simplest code, showed at the main page:

const vorpal = require('vorpal')();

vorpal
  .command('foo', 'Outputs "bar".')
  .action(function(args, callback) {
    this.log('bar');
    callback();
  });

vorpal
  .delimiter('myapp$')
  .show();

This doesn't work perfectly. Here is a video that show the problem.

Alaanor.