aboutsummaryrefslogtreecommitdiff
path: root/src/keybinds.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/keybinds.go')
-rw-r--r--src/keybinds.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keybinds.go b/src/keybinds.go
index e3b80a1..f9d932c 100644
--- a/src/keybinds.go
+++ b/src/keybinds.go
@@ -5,9 +5,9 @@ import (
5 "github.com/rivo/tview" 5 "github.com/rivo/tview"
6) 6)
7 7
8func (a *app) setupMusicControlKeys(p *tview.Box) { 8func (a *app) setupKeybindings(p *tview.Box) {
9 // Add 'k' and 'l' key bindings
10 p.SetInputCapture(func(event *tcell.EventKey) *tcell.EventKey { 9 p.SetInputCapture(func(event *tcell.EventKey) *tcell.EventKey {
10 // Next & pause
11 if event.Rune() == 'l' { 11 if event.Rune() == 'l' {
12 a.playQueue.Next() 12 a.playQueue.Next()
13 return nil 13 return nil