HandleTime

This commit is contained in:
2025-09-08 18:40:10 -05:00
parent f571b13a31
commit 31161d7b99
10 changed files with 53 additions and 15 deletions

View File

@@ -116,7 +116,13 @@ func (w *Menu) HandleKey(ev *tcell.EventKey) bool {
// See if we can find an item that matches the key pressed
return false
}
func (w *Menu) HandleTime(ev *tcell.EventTime) {}
func (w *Menu) HandleTime(ev *tcell.EventTime) {
for i := range w.items {
w.items[i].HandleTime(ev)
}
}
func (w *Menu) Draw(screen tcell.Screen) {
switch w.menuType {
case MenuTypeH: