Commit 04162f30f5
Unsigned
Layout: unified · split
internal/selection_menu.go +1 −1
| @@ -51,7 +51,7 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { | ||
| 51 | 51 | switch msg := msg.(type) { |
| 52 | 52 | case tea.KeyMsg: |
| 53 | 53 | switch msg.String() { |
| 54 | case "ctrl+c", "q": | |
| 54 | case "ctrl+c": | |
| 55 | 55 | // Return quit selection option instead of quitting the program |
| 56 | 56 | m.filteredKeys[m.selected] = SelectionOption{"quit", "-1"} |
| 57 | 57 | return m, tea.Quit // Properly exit the program |