From e5de5512d3206655d303c9ae9fe5f34c0e13e52f Mon Sep 17 00:00:00 2001 From: raziman Date: Tue, 16 Mar 2021 11:59:16 +0800 Subject: [PATCH] add keybinding for 'show_colors' command --- README.md | 1 + popup.go | 1 + start.go | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index eaf5784..cebd1bf 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ Each panel has it's own additional keybinding. To view the available keybinding | ? | toggle help | | m | open repl | | T | switch lyrics | +| c | show colors | | Key (Playlist) | Description | diff --git a/popup.go b/popup.go index f962037..4959c62 100644 --- a/popup.go +++ b/popup.go @@ -271,6 +271,7 @@ func helpPopup(panel Panel) { "? toggle help", "m open repl", "T switch lyrics", + "c show colors", } list := tview.NewList().ShowSecondaryText(false) diff --git a/start.go b/start.go index 8c635e7..28c9340 100644 --- a/start.go +++ b/start.go @@ -462,6 +462,7 @@ func start(application *tview.Application, args Args) { 'B': "rewind_fast", 'm': "repl", 'T': "switch_lyric", + 'c': "show_colors", } for key, cmd := range cmds {