aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-30 18:59:34 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-30 18:59:34 +0200
commit091ac03f1f758bd681c5f522b88c04ea04d81359 (patch)
treee0a4c2c6b7063198e607c191c998438fdfe82e14
parent12b0fecd9b9bce3f4a23754a5c0121598ed2f38a (diff)
downloadgit-bug-091ac03f1f758bd681c5f522b88c04ea04d81359.tar.gz
termui: PgUp & PgDown to pagine the bug list as well
-rw-r--r--commands/termui.go1
-rw-r--r--termui/termui.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/commands/termui.go b/commands/termui.go
index 6f3ba5ef..460770a6 100644
--- a/commands/termui.go
+++ b/commands/termui.go
@@ -6,7 +6,6 @@ import (
)
func runTermUI(cmd *cobra.Command, args []string) error {
- //time.Sleep(10 * time.Second)
return termui.Run(repo)
}
diff --git a/termui/termui.go b/termui/termui.go
index 8c4cd80e..e2e5ae24 100644
--- a/termui/termui.go
+++ b/termui/termui.go
@@ -93,7 +93,7 @@ func keybindings(g *gocui.Gui) error {
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 {
+ if err := g.SetKeybinding("bugTable", gocui.KeyPgdn, gocui.ModNone, nextPage); err != nil {
return err
}