aboutsummaryrefslogtreecommitdiffstats
path: root/termui/termui.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-30 18:22:52 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-30 18:22:52 +0200
commit12b0fecd9b9bce3f4a23754a5c0121598ed2f38a (patch)
tree4e2a1c92300a6e58bff635dc03e0505bccf26215 /termui/termui.go
parentbb9168f98a9dd50a7215652ab77a1c46615064cd (diff)
downloadgit-bug-12b0fecd9b9bce3f4a23754a5c0121598ed2f38a.tar.gz
vendor gocui on the master branch because of no release in a while
Diffstat (limited to 'termui/termui.go')
-rw-r--r--termui/termui.go6
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)