Fix non 'ch' issue

This commit is contained in:
Bryan Ashby 2016-07-20 22:21:46 -06:00
parent 9545cb620b
commit a1167acc03

View file

@ -27,7 +27,7 @@ module.exports = class KeyEntryView extends View {
this.client.term.write(stylizeString(ch, this.textStyle)); this.client.term.write(stylizeString(ch, this.textStyle));
} }
if(this.caseInsensitive) { if(ch && this.caseInsensitive) {
ch = ch.toUpperCase(); ch = ch.toUpperCase();
} }