converted to bubblewand framework

This commit is contained in:
steven carpenter 2025-07-27 15:46:49 -04:00
parent 87a522daab
commit 719cb62c31
3 changed files with 142 additions and 4 deletions

View file

@ -1,7 +1,6 @@
package tui
import (
"context"
"time"
"git.skdevstudios.com/SK-Development-Studios/go-cal-tui/internal/storage"
@ -86,7 +85,7 @@ func (m model) updateHourlyView(msg tea.Msg) (tea.Model, tea.Cmd) {
case tea.KeyMsg:
switch msg.String() {
case "n":
showEventForm(context.Background(), func(e storage.EventInput) {
showEventForm(func(e storage.EventInput) {
_ = storage.SaveEvent(e)
})
case "esc":