diff --git a/go.mod b/go.mod index 9c32735f40c145b87ced8ddcc0b1c1f91f36dd36..5b9e2b24e520909092e8c5e33e633f49d4821572 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/bmatcuk/doublestar/v4 v4.9.1 github.com/charlievieth/fastwalk v1.0.14 github.com/charmbracelet/bubbles/v2 v2.0.0-beta.1.0.20250820203609-601216f68ee2 - github.com/charmbracelet/bubbletea/v2 v2.0.0-beta.5 + github.com/charmbracelet/bubbletea/v2 v2.0.0-beta.6 github.com/charmbracelet/catwalk v0.8.1 github.com/charmbracelet/colorprofile v0.3.2 github.com/charmbracelet/fang v0.4.3 diff --git a/go.sum b/go.sum index c2d0cb22c9b360da4c5c31e86eec578b4e03b673..a82a08657d31b36664df8f87233fd527ff24f0d6 100644 --- a/go.sum +++ b/go.sum @@ -80,8 +80,8 @@ github.com/charmbracelet/anthropic-sdk-go v0.0.0-20251024181547-21d6f3d9a904 h1: github.com/charmbracelet/anthropic-sdk-go v0.0.0-20251024181547-21d6f3d9a904/go.mod h1:8TIYxZxsuCqqeJ0lga/b91tBwrbjoHDC66Sq5t8N2R4= github.com/charmbracelet/bubbles/v2 v2.0.0-beta.1.0.20250820203609-601216f68ee2 h1:973OHYuq2Jx9deyuPwe/6lsuQrDCatOsjP8uCd02URE= github.com/charmbracelet/bubbles/v2 v2.0.0-beta.1.0.20250820203609-601216f68ee2/go.mod h1:6HamsBKWqEC/FVHuQMHgQL+knPyvHH55HwJDHl/adMw= -github.com/charmbracelet/bubbletea/v2 v2.0.0-beta.5 h1:oAChAeh730gtLKK/BpaTeJHzmj3KFuEfQ7AZgf2VGHM= -github.com/charmbracelet/bubbletea/v2 v2.0.0-beta.5/go.mod h1:SUTLq+/pGQ5qntHgt0JswfVJFfgJgWDqyvyiSLVlmbo= +github.com/charmbracelet/bubbletea/v2 v2.0.0-beta.6 h1:nXNg4TmtfoQXFdF2BSSjTxFp9bSHQCILkIKK3FXMW/E= +github.com/charmbracelet/bubbletea/v2 v2.0.0-beta.6/go.mod h1:SUTLq+/pGQ5qntHgt0JswfVJFfgJgWDqyvyiSLVlmbo= github.com/charmbracelet/catwalk v0.8.1 h1:Okn6EgMSHlNCYQrSQkyAjLuLiSzDmReGLc0MPcG2F9g= github.com/charmbracelet/catwalk v0.8.1/go.mod h1:ReU4SdrLfe63jkEjWMdX2wlZMV3k9r11oQAmzN0m+KY= github.com/charmbracelet/colorprofile v0.3.2 h1:9J27WdztfJQVAQKX2WOlSSRB+5gaKqqITmrvb1uTIiI= diff --git a/internal/tui/tui.go b/internal/tui/tui.go index 6377bf92fa07f0b488b64901ef985fe6ce34018a..d2e36764c573ecc6a783e1148e07cb28934b7019 100644 --- a/internal/tui/tui.go +++ b/internal/tui/tui.go @@ -503,6 +503,7 @@ func (a *appModel) moveToPage(pageID page.PageID) tea.Cmd { // View renders the complete application interface including pages, dialogs, and overlays. func (a *appModel) View() tea.View { var view tea.View + view.AltScreen = true t := styles.CurrentTheme() view.BackgroundColor = t.BgBase if a.wWidth < 25 || a.wHeight < 15 { @@ -577,7 +578,6 @@ func (a *appModel) View() tea.View { view.Layer = canvas view.Cursor = cursor view.MouseMode = tea.MouseModeCellMotion - view.AltScreen = true if a.sendProgressBar && a.app != nil && a.app.AgentCoordinator != nil && a.app.AgentCoordinator.IsBusy() { // HACK: use a random percentage to prevent ghostty from hiding it