converted to bubblewand framework
This commit is contained in:
parent
87a522daab
commit
719cb62c31
3 changed files with 142 additions and 4 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue