diff --git a/app/menu.go b/app/menu.go index 341071e..6bfa440 100644 --- a/app/menu.go +++ b/app/menu.go @@ -35,7 +35,6 @@ func NewMainMenu() *MainMenu { "visit your subscriptions", // TODO "scribble some graffiti", // TODO "change your settings", - "send some feedback", // TODO "see credits", "read documentation", }), @@ -56,7 +55,7 @@ func (menu *MainMenu) Event(state *ui.State, event vaxis.Event) (processed bool) menu.list.End() case "Home", "g": menu.list.Home() - case "0", "1", "2", "3", "4", "5", "6", "7", "8", "9": + case "0", "1", "2", "3", "4", "5", "6", "7", "8": i, _ := strconv.Atoi(key.String()) menu.list.SetIndex(i) case "Enter", "l", "Right": @@ -67,9 +66,9 @@ func (menu *MainMenu) Event(state *ui.State, event vaxis.Event) (processed bool) ui.ViewChange <- NewManagement() case 6: ui.ViewChange <- NewConfig() - case 8: + case 7: ui.ViewChange <- NewCredits() - case 9: + case 8: showManpage(state) } } @@ -85,7 +84,7 @@ func (menu *MainMenu) Event(state *ui.State, event vaxis.Event) (processed bool) Width: 28, Height: 10, }) - win.New(win.Width/2-14, win.Height/2+9, 28, 1).Print(vaxis.Segment{Text: menu.help}) + win.New(win.Width/2-14, win.Height/2+8, 28, 1).Print(vaxis.Segment{Text: menu.help}) return }