« 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--todo.txt3
-rw-r--r--ui.js6
2 files changed, 7 insertions, 2 deletions
diff --git a/todo.txt b/todo.txt
index 9d0fc15..ae16f8f 100644
--- a/todo.txt
+++ b/todo.txt
@@ -219,3 +219,6 @@ TODO: Metadata process status bar.
 
 TODO: Add Vim arrow keys. Please forgive me.
       (Done!)
+
+TODO: Use some other key for toggling loop (besides L), so we can make full use
+      of HJKL arrow keys.
diff --git a/ui.js b/ui.js
index 0be43e3..1ada92e 100644
--- a/ui.js
+++ b/ui.js
@@ -43,8 +43,10 @@ const addKey = (prop, key) => {
 
 addKey('isDown', 'j')
 addKey('isUp', 'k')
-addKey('isLeft', 'h')
-addKey('isRight', 'l')
+// Don't use these for now... currently L is used for toggling loop.
+// May want to look into changing that (so we can re-enable these).
+// addKey('isLeft', 'h')
+// addKey('isRight', 'l')
 
 class AppElement extends FocusElement {
   constructor() {