diff --git a/core/key_entry_view.js b/core/key_entry_view.js index e18b5441..828e7264 100644 --- a/core/key_entry_view.js +++ b/core/key_entry_view.js @@ -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(); }