bugfix: proper handling of 'n'

This commit is contained in:
Dieter Eickstaedt 2022-11-21 15:35:06 +01:00
parent 65087b31ea
commit ccd452b35a

View file

@ -94,6 +94,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
if m.options[Negative] != "" {
m.selectedOption = Negative
m.quitting = true
return m, tea.Quit
}
case "ctrl+c":
m.selectedOption = Cancel