clampSelection()} onkeydown={handleKeydown} aria-label="Command search" aria-autocomplete="list" aria-expanded="true" aria-controls="palette-list" aria-activedescendant={filtered[selectedIdx] ? `cmd-${filtered[selectedIdx].id}` : undefined} autocomplete="off" spellcheck="false" />
Esc
{#each filtered as cmd, i (cmd.id)}
executeCommand(cmd)} onmouseenter={() => selectedIdx = i} >
{cmd.label}
{#if cmd.description}
{cmd.description}
{/if} {#if cmd.shortcut}
{cmd.shortcut}
{/if}
{/each} {#if filtered.length === 0}
No commands found
{/if}