diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/telchars.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/telchars.js b/util/telchars.js index 7f4d8e4..6908600 100644 --- a/util/telchars.js +++ b/util/telchars.js @@ -6,7 +6,7 @@ const compareBufStr = (buf, str) => { const telchars = { isSpace: buf => buf[0] === 0x20, - isEnter: buf => buf[0] === 0x0d && buf[1] === 0x00, + isEnter: buf => buf[0] === 0x0d, isTab: buf => buf[0] === 0x09, isBackTab: buf => buf[0] === 0x1b && buf[2] === 0x5A, isBackspace: buf => buf[0] === 0x7F, |