From c42add3c9edb6446a759ae4f5a2b3e81cf56f4f5 Mon Sep 17 00:00:00 2001 From: Florrie Date: Mon, 4 Jun 2018 15:59:19 -0300 Subject: isCharacter telchar util function --- util/telchars.js | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/telchars.js b/util/telchars.js index 415eff8..dcb840f 100644 --- a/util/telchars.js +++ b/util/telchars.js @@ -40,6 +40,7 @@ const telchars = { isPageDown: buf => compareBufStr(buf, '\x1b[6~'), isCaselessLetter: (buf, letter) => compareBufStr(buf, letter.toLowerCase()) || compareBufStr(buf, letter.toUpperCase()), + isCharacter: (buf, char) => compareBufStr(buf, char), } module.exports = telchars -- cgit 1.3.0-6-gf8a5