Closed jeff-1amstudios closed 8 years ago
if there are multiple matching commands, the last matching character is not displayed when hitting [tab]. In the below example, typing 'comm[tab]' autocompletes to 'comman' instead of 'command'.
var vorpal = require('vorpal')(); vorpal.command('command') .action(function (args, cb) { this.log('hello'); cb(); }); vorpal.command('command2') .action(function(args, cb) { this.log('hello world'); cb(); }); vorpal .show();
Hey, thanks! :+1:
if there are multiple matching commands, the last matching character is not displayed when hitting [tab]. In the below example, typing 'comm[tab]' autocompletes to 'comman' instead of 'command'.