« get me outta code hell

Remove HL from HJKL, for now - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-04-02 10:19:37 -0300
committerFlorrie <towerofnix@gmail.com>2019-04-02 10:19:37 -0300
commit66ab26062db7fb15251cdd903ab282d408af1d7f (patch)
tree0599d25cfa8b5e9911bd17e15700e6f3b7658e01
parentdb24b6377c67006b9f1578ef073f50180442933a (diff)
Remove HL from HJKL, for now
Sorry :P
-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() {