From ab7e5ea8b2aa0183607cb4c85ccdf9d1fa2a5551 Mon Sep 17 00:00:00 2001 From: Tim Mattison Date: Mon, 22 Jan 2024 09:04:26 -0500 Subject: [PATCH] chore(docs): remove the tea.EnterAltScreen from Init Per the docs: https://github.com/charmbracelet/bubbletea/blob/8f3464a75600e991bbce22229d6e5b99975416f0/screen.go#L29 --- examples/fullscreen/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fullscreen/main.go b/examples/fullscreen/main.go index 1c56be0..1720d51 100644 --- a/examples/fullscreen/main.go +++ b/examples/fullscreen/main.go @@ -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) {