From a1167acc0331b44fe059a242428d9e184e33f5c5 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 20 Jul 2016 22:21:46 -0600 Subject: [PATCH] Fix non 'ch' issue --- core/key_entry_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }