Open ledbettj opened 10 years ago
This is a bug in node-term-list
. Fixing it here will still cause btc to crash, since there's a switch in the default onkeypress
behaviour in node-term-list. I've reported a bug over there: visionmedia/node-term-list#4 and submitted a pull request, which should fix the problem (once the dependency has been updated).
:+1:
node-term-list has been updated to 0.2.1 now, which fixes this bug.
thank you @eyko , nice work!
crashes on keypress for certain non-alphanumeric keys, for example
.,?
.Edit:
based on the keypress examples it looks like it's expected to check that
key
is truthy prior to checking any properties. (if (key && key.name == 'return') { ... }
)