Skip to content

Commit

Permalink
chore(docs): remove the tea.EnterAltScreen from Init
Browse files Browse the repository at this point in the history
  • Loading branch information
timmattison committed Jan 22, 2024
1 parent 8f3464a commit ab7e5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fullscreen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ab7e5ea

Please sign in to comment.