Skip to content

Commit

Permalink
fix(init): fix for failing "testacular init" on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
milanaleksic authored and dignifiedquire committed Mar 20, 2013
1 parent ca75aaf commit 0b5b385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ var StateMachine = function(rli) {
this.suggestNextOption();
}

if (!key.ctrl && !key.meta && key.name !== 'enter') {
if (!key.ctrl && !key.meta && key.name !== 'enter' && key.name !== 'return') {
key.name = 'escape';
}
};
Expand Down

0 comments on commit 0b5b385

Please sign in to comment.