remove feedback menu

we have irc and gitea
trunk
nbsp 2025-01-06 22:58:38 +02:00
parent fa9aa9f4ad
commit 5c0455b7b9
No known key found for this signature in database
GPG Key ID: 7184AC1C9835CE48
1 changed files with 4 additions and 5 deletions

View File

@ -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
}