add keybinding for 'show_colors' command

This commit is contained in:
raziman 2021-03-16 11:59:16 +08:00
parent 1e9c5864cf
commit e5de5512d3
3 changed files with 3 additions and 0 deletions

View File

@ -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 |

View File

@ -271,6 +271,7 @@ func helpPopup(panel Panel) {
"? toggle help",
"m open repl",
"T switch lyrics",
"c show colors",
}
list := tview.NewList().ShowSecondaryText(false)

View File

@ -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 {