summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFilip <[email protected]>2026-02-15 14:46:56 +0100
committerGitHub <[email protected]>2026-02-15 07:46:56 -0600
commit878ddc6a0a9eff4fe990dfc241a8eb1c72f0659d (patch)
treeaabe3e7bed32871408c9c7fafbec3124e54b28ab
parent37611217282b81458bcd5a74850bd96787721b06 (diff)
downloadopencode-878ddc6a0a9eff4fe990dfc241a8eb1c72f0659d.tar.gz
opencode-878ddc6a0a9eff4fe990dfc241a8eb1c72f0659d.zip
fix(app): keybind [shift+tab] (#13695)
-rw-r--r--packages/app/src/context/command.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/app/src/context/command.tsx b/packages/app/src/context/command.tsx
index 237d71884..03437c973 100644
--- a/packages/app/src/context/command.tsx
+++ b/packages/app/src/context/command.tsx
@@ -316,8 +316,10 @@ export const { use: useCommand, provider: CommandProvider } = createSimpleContex
const isPalette = palette().has(sig)
const option = keymap().get(sig)
const modified = event.ctrlKey || event.metaKey || event.altKey
+ const isTab = event.key === "Tab"
- if (isEditableTarget(event.target) && !isPalette && !isAllowedEditableKeybind(option?.id) && !modified) return
+ if (isEditableTarget(event.target) && !isPalette && !isAllowedEditableKeybind(option?.id) && !modified && !isTab)
+ return
if (isPalette) {
event.preventDefault()