feat: wip tui application
This commit is contained in:
parent
a161b86c9a
commit
5d7e9d79c4
7 changed files with 286 additions and 0 deletions
10
tui/start.go
Normal file
10
tui/start.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package tui
|
||||
|
||||
import tea "github.com/charmbracelet/bubbletea"
|
||||
|
||||
func Start(args Args) error {
|
||||
app := NewApp()
|
||||
program := tea.NewProgram(app, tea.WithAltScreen())
|
||||
_, err := program.Run()
|
||||
return err
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue