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, { ' ' })