diff --git a/internal/quickstart/choose_sdk.go b/internal/quickstart/choose_sdk.go index 69344f9b..da67a194 100644 --- a/internal/quickstart/choose_sdk.go +++ b/internal/quickstart/choose_sdk.go @@ -29,7 +29,7 @@ type chooseSDKModel struct { func NewChooseSDKModel(selectedIndex int) tea.Model { l := list.New(sdksToItems(), sdkDelegate{}, 30, 14) - l.Title = "Select your SDK:\n\n" // extra newlines to show pagination + l.Title = "Select your SDK:\n" // reset title styles l.Styles.Title = lipgloss.NewStyle() l.Styles.TitleBar = lipgloss.NewStyle() diff --git a/internal/quickstart/container.go b/internal/quickstart/container.go index 6763b640..d6dd8205 100644 --- a/internal/quickstart/container.go +++ b/internal/quickstart/container.go @@ -145,6 +145,10 @@ func (m ContainerModel) View() string { return out } + if m.quitting { + return "" + } + return out }