
lipgloss.AdaptiveColor. It works out of the box with no configuration required, ensuring your app looks great in any environment.func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
switch msg := msg.(type) {
case tea.MouseMsg:
if msg.Type == tea.MouseLeft {
return m, tea.Quit
}
}
return m, nil
}