dthree / vorpal

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

Fix "client_keypress" event #54

Closed fredericgrati closed 8 years ago

fredericgrati commented 8 years ago

The client_keypress event wasn't fired because it was emitted from ui module and not from vorpal instance.

I have also added some tests to check if the events work correctly

dthree commented 8 years ago

LGTM. Thanks!