Fix non 'ch' issue

This commit is contained in:
Bryan Ashby 2016-07-20 22:21:46 -06:00
parent 9545cb620b
commit a1167acc03
1 changed files with 1 additions and 1 deletions

View File

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