12 lines
221 B
Go
12 lines
221 B
Go
package main
|
|
|
|
import tea "github.com/charmbracelet/bubbletea"
|
|
|
|
func main() {
|
|
lines := []string{"Hello world", "line 2", "line 3", "line 4", "line 5"}
|
|
tea.NewProgram(
|
|
newModel(lines),
|
|
tea.WithAltScreen(),
|
|
).Run()
|
|
}
|