forked from Mirrors/bubbletea
chore(docs): remove the tea.EnterAltScreen from Init
Per the docs: 8f3464a756/screen.go (L29)
This commit is contained in:
parent
8f3464a756
commit
ab7e5ea8b2
|
@ -23,7 +23,7 @@ func main() {
|
|||
}
|
||||
|
||||
func (m model) Init() tea.Cmd {
|
||||
return tea.Batch(tick(), tea.EnterAltScreen)
|
||||
return tick()
|
||||
}
|
||||
|
||||
func (m model) Update(message tea.Msg) (tea.Model, tea.Cmd) {
|
||||
|
|
Loading…
Reference in New Issue