add repl keybinding

This commit is contained in:
raziman 2021-02-19 10:24:21 +08:00
parent 8a72c2018f
commit d0bac491c6
2 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,7 @@ func helpPopup(panel Panel) {
"f/F forward 10/60 seconds", "f/F forward 10/60 seconds",
"b/B rewind 10/60 seconds", "b/B rewind 10/60 seconds",
"? toggle help", "? toggle help",
"m open repl",
} }
list := tview.NewList().ShowSecondaryText(false) list := tview.NewList().ShowSecondaryText(false)

View File

@ -338,6 +338,7 @@ func start(application *tview.Application, args Args) {
'F': "forward_fast", 'F': "forward_fast",
'b': "rewind", 'b': "rewind",
'B': "rewind_fast", 'B': "rewind_fast",
'm': "repl",
} }
for key, cmd := range cmds { for key, cmd := range cmds {