« get me outta code hell

tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/util/CommandLineInterfacer.js
diff options
context:
space:
mode:
Diffstat (limited to 'util/CommandLineInterfacer.js')
-rw-r--r--util/CommandLineInterfacer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/CommandLineInterfacer.js b/util/CommandLineInterfacer.js
index 3f9d208..743ff5c 100644
--- a/util/CommandLineInterfacer.js
+++ b/util/CommandLineInterfacer.js
@@ -63,7 +63,7 @@ module.exports = class CommandLineInterfacer extends EventEmitter {
     const options = []
     let curOption = ''
     let commandCode = null
-    for (let val of buffer.slice(2)) {
+    for (const val of buffer.slice(2)) {
       if (48 <= val && val <= 57) { // 0124356789
         curOption = curOption.concat(val - 48)
       } else {