diff --git a/packages/web/src/commands/CommandListener.svelte b/packages/web/src/commands/CommandListener.svelte index 6a6939954..d04799917 100644 --- a/packages/web/src/commands/CommandListener.svelte +++ b/packages/web/src/commands/CommandListener.svelte @@ -2,7 +2,7 @@ import { commandsCustomized, visibleCommandPalette } from '../stores'; import { get } from 'svelte/store'; import { runGroupCommand } from './runCommand'; - import { resolveKeyText } from '../utility/common'; + import { isMac, resolveKeyText } from '../utility/common'; export function handleCommandKeyDown(e) { let keyText = ''; @@ -42,6 +42,10 @@ commandsFiltered = commandsFiltered.filter(x => !x.systemCommand); } + if (commandsFiltered.every(x => x.systemCommand) && !isMac()) { + return; + } + const notGroup = commandsFiltered.filter(x => x.enabled && !x.isGroupCommand); if (notGroup.length > 1) {