From ffd1656b509f6b6c2053e528249ae8dff51315bd Mon Sep 17 00:00:00 2001 From: Yuanjing Hong Date: Sun, 1 Feb 2026 16:53:45 +0800 Subject: [PATCH] fix(ui): fix tip of cancel keymap in footer --- lua/opencode/ui/footer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/opencode/ui/footer.lua b/lua/opencode/ui/footer.lua index fafa6109..f459650a 100644 --- a/lua/opencode/ui/footer.lua +++ b/lua/opencode/ui/footer.lua @@ -36,7 +36,7 @@ local function build_right_segments() local segments = {} if state.is_running() and not state.is_opening then - local cancel_keymap = config.get_key_for_function('input_window', 'stop') or '' + local cancel_keymap = config.get_key_for_function('input_window', 'cancel') or '' table.insert(segments, { string.format('%s ', cancel_keymap), 'OpencodeInputLegend' }) table.insert(segments, { 'to cancel', 'OpencodeHint' }) table.insert(segments, { ' ' })