[WIP] Layout
This commit is contained in:
4
main.go
4
main.go
@ -6,7 +6,7 @@ import (
|
||||
"os"
|
||||
|
||||
"tasksquire/common"
|
||||
"tasksquire/model"
|
||||
"tasksquire/pages"
|
||||
"tasksquire/taskwarrior"
|
||||
|
||||
tea "github.com/charmbracelet/bubbletea"
|
||||
@ -32,7 +32,7 @@ func main() {
|
||||
// slog.Error("Uh oh:", err)
|
||||
// os.Exit(1)
|
||||
// }
|
||||
m := model.NewMainModel(common)
|
||||
m := pages.NewMainPage(common)
|
||||
|
||||
if _, err := tea.NewProgram(m, tea.WithAltScreen()).Run(); err != nil {
|
||||
fmt.Println("Error running program:", err)
|
||||
|
||||
Reference in New Issue
Block a user