mirror of
https://github.com/IllusionMan1212/gorc.git
synced 2026-10-24 02:12:33 +00:00
refactor: cleanup initial impl and modularize everything
This commit is contained in:
@@ -20,10 +20,11 @@ import (
|
||||
"log"
|
||||
|
||||
tea "github.com/charmbracelet/bubbletea"
|
||||
"github.com/illusionman1212/gorc/ui/app"
|
||||
)
|
||||
|
||||
func main() {
|
||||
if err := tea.NewProgram(initialState(), tea.WithAltScreen()).Start(); err != nil {
|
||||
if err := tea.NewProgram(app.InitialState(), tea.WithAltScreen()).Start(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user