From 582eeb0bbd995a4303c611a40dfcb8e85531d97b Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Thu, 24 Jul 2025 16:41:37 -0300 Subject: [PATCH] fix: hide info box when the initialization message is shown --- internal/tui/components/chat/splash/splash.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/internal/tui/components/chat/splash/splash.go b/internal/tui/components/chat/splash/splash.go index f459eaa3788fa350305f8636684ad5b3d3aad69c..3aa25dfe13c1cf24de1e2fea3fa651bec1b07eb3 100644 --- a/internal/tui/components/chat/splash/splash.go +++ b/internal/tui/components/chat/splash/splash.go @@ -494,9 +494,7 @@ func (s *splashCmp) View() string { }) buttons := lipgloss.JoinHorizontal(lipgloss.Left, yesButton, " ", noButton) - infoSection := s.infoSection() - - remainingHeight := s.height - lipgloss.Height(s.logoRendered) - (SplashScreenPaddingY * 2) - lipgloss.Height(infoSection) + remainingHeight := s.height - lipgloss.Height(s.logoRendered) - (SplashScreenPaddingY * 2) initContent := t.S().Base.AlignVertical(lipgloss.Bottom).PaddingLeft(1).Height(remainingHeight).Render( lipgloss.JoinVertical( @@ -510,7 +508,7 @@ func (s *splashCmp) View() string { content = lipgloss.JoinVertical( lipgloss.Left, s.logoRendered, - infoSection, + "", initContent, ) } else {