Fix non 'ch' issue
This commit is contained in:
parent
9545cb620b
commit
a1167acc03
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue