diff options
Diffstat (limited to 'termui/termui.go')
-rw-r--r-- | termui/termui.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/termui/termui.go b/termui/termui.go index 41212d26..8c4cd80e 100644 --- a/termui/termui.go +++ b/termui/termui.go @@ -84,12 +84,18 @@ func keybindings(g *gocui.Gui) error { if err := g.SetKeybinding("bugTable", gocui.KeyArrowLeft, gocui.ModNone, previousPage); err != nil { return err } + if err := g.SetKeybinding("bugTable", gocui.KeyPgup, gocui.ModNone, previousPage); err != nil { + return err + } if err := g.SetKeybinding("bugTable", 'l', gocui.ModNone, nextPage); err != nil { return err } if err := g.SetKeybinding("bugTable", gocui.KeyArrowRight, gocui.ModNone, nextPage); err != nil { return err } + if err := g.SetKeybinding("bugTable", gocui.KeyPgup, gocui.ModNone, nextPage); err != nil { + return err + } //err = g.SetKeybinding("bugTable", 'p', gocui.ModNone, playSelected) //err = g.SetKeybinding("bugTable", gocui.KeyEnter, gocui.ModNone, playSelectedAndExit) |