« get me outta code hell

MAKE DEFAULT KEYBINDINGS WORK WITH CAPS LOCK - http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-01-24 17:07:23 -0400
committerFlorrie <towerofnix@gmail.com>2018-01-24 17:07:23 -0400
commit0a514c53087e40453089dbf223267655a89b3076 (patch)
treebbfb0b8590a1ead4460b2a37eb357e2d45003b00 /src
parent5da7a8ecb5594d1dc7d4720b01d3b7c6b2f7a2d9 (diff)
MAKE DEFAULT KEYBINDINGS WORK WITH CAPS LOCK
Diffstat (limited to 'src')
-rwxr-xr-xsrc/play.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/play.js b/src/play.js
index 5b71c94..788f6bc 100755
--- a/src/play.js
+++ b/src/play.js
@@ -111,11 +111,11 @@ async function main(args) {
     [['shiftRight'], 'seek', +30],
     [['up'], 'skipBack'],
     [['down'], 'skipAhead'],
-    [['s'], 'skipAhead'],
     [['delete'], 'skipUpNext'],
-    [['i'], 'showTrackInfo'],
-    [['t'], 'showTrackInfo'],
-    [['q'], 'quit']
+    [['s'], 'skipAhead'], [['S'], 'skipAhead'],
+    [['i'], 'showTrackInfo'], [['I'], 'showTrackInfo'],
+    [['t'], 'showTrackInfo'], [['T'], 'showTrackInfo'],
+    [['q'], 'quit'], [['Q'], 'quit']
   ]
 
   async function openPlaylist(arg, silent = false) {