Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/quickstart/choose_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be consistent with the other views.

// reset title styles
l.Styles.Title = lipgloss.NewStyle()
l.Styles.TitleBar = lipgloss.NewStyle()
Expand Down
4 changes: 4 additions & 0 deletions internal/quickstart/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ func (m ContainerModel) View() string {
return out
}

if m.quitting {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comes after the error check since that may force-quit the app.

return ""
}

return out
}

Expand Down