From 02aec6f1ca45772d41817ab3aabdfa3e6071f60d Mon Sep 17 00:00:00 2001 From: Anil Natha Date: Sun, 26 Jul 2026 16:30:37 -0700 Subject: [PATCH] Updated string used to identify escape keypress event from 'escape' to 'esc' to match the string the uv identifies as the escape key. --- internal/input/input.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/input/input.go b/internal/input/input.go index 50913ac66f..b2cb27f294 100644 --- a/internal/input/input.go +++ b/internal/input/input.go @@ -114,7 +114,7 @@ func (m textModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg := msg.(type) { case tea.KeyPressMsg: switch msg.Keystroke() { - case "ctrl+c", "escape": + case "ctrl+c", "esc": m.cancelled = true m.done = true return m, tea.Quit @@ -164,7 +164,7 @@ func (m selectModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg := msg.(type) { case tea.KeyPressMsg: switch msg.Keystroke() { - case "ctrl+c", "escape": + case "ctrl+c", "esc": m.cancelled = true m.done = true return m, tea.Quit