diff --git a/src/docs/components/cmdk/raycast/sub-command.svelte b/src/docs/components/cmdk/raycast/sub-command.svelte index 1ed7c73..69707d6 100644 --- a/src/docs/components/cmdk/raycast/sub-command.svelte +++ b/src/docs/components/cmdk/raycast/sub-command.svelte @@ -12,7 +12,7 @@ onMount(() => { function handleKeydown(e: KeyboardEvent) { - if (e.key === 'k' && e.metaKey) { + if (e.key === 'k' && (e.metaKey || e.ctrlKey)) { e.preventDefault(); open = true; }