From ccd452b35a9e42c4edfdddb0f6ec743668f8300c Mon Sep 17 00:00:00 2001 From: Dieter Eickstaedt Date: Mon, 21 Nov 2022 15:35:06 +0100 Subject: [PATCH] bugfix: proper handling of 'n' --- confirm/confirm.go | 1 + 1 file changed, 1 insertion(+) diff --git a/confirm/confirm.go b/confirm/confirm.go index e32af4e..2005faa 100644 --- a/confirm/confirm.go +++ b/confirm/confirm.go @@ -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