diff --git a/packages/opencode/src/util/keybind.ts b/packages/opencode/src/util/keybind.ts index 29a239da6..eb6518326 100644 --- a/packages/opencode/src/util/keybind.ts +++ b/packages/opencode/src/util/keybind.ts @@ -19,7 +19,10 @@ export namespace Keybind { if (info.ctrl) parts.push("ctrl") if (info.option) parts.push("alt") if (info.shift) parts.push("shift") - if (info.name) parts.push(info.name) + if (info.name) { + if (info.name === "delete") parts.push("del") + else parts.push(info.name) + } let result = parts.join("+")