summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/switcher/switcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/switcher/switcher.go b/internal/switcher/switcher.go
index bd58fe9..8de31c6 100644
--- a/internal/switcher/switcher.go
+++ b/internal/switcher/switcher.go
@@ -168,7 +168,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
case tea.KeyMsg:
- if m.input.Focused() {
+ if m.input.Focused() && msg.String() != "ctrl+c" {
keys.esc.SetEnabled(true)
keys.confirm.SetEnabled(true)
if key.Matches(msg, keys.esc) {