« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/ui.js b/ui.js
index 72079ae..ba60ca0 100644
--- a/ui.js
+++ b/ui.js
@@ -2295,16 +2295,6 @@ class ContextMenu extends FocusElement {
       return false
     } else if (this.keyboardSelector.keyPressed(keyBuf)) {
       return false
-
-      const key = String.fromCharCode(keyBuf[0]).toLowerCase()
-      for (const input of this.form.inputs) {
-        if (input.selectable && input.menuKeyShortcut) {
-          if (input.menuKeyShortcut.toLowerCase() === key) {
-            this.form.selectInput(input)
-            return false
-          }
-        }
-      }
     }
     super.keyPressed(keyBuf)
   }