Spaces:
Sleeping
Sleeping
Same shortcut as other chatbots
Browse files153 unmodified lines154155156157158159160206 unmodified lines367368369370371372373153 unmodified lines}function onKeydown(event: KeyboardEvent) {if ((event.ctrlKey || event.metaKey) && event.key === 'Enter') {submit();}}206 unmodified lines{:else}Run <spanclass="inline-flex gap-0.5 rounded border border-white/20 bg-white/10 px-0.5 text-xs text-white/70">⌘<span class="translate-y-px">↵</span></span>{/if}</button>153 unmodified lines154155156157158159160206 unmodified lines367368369370371372373153 unmodified lines}function onKeydown(event: KeyboardEvent) {if (!event.shiftKey && event.key === 'Enter') {submit();}}206 unmodified lines{:else}Run <spanclass="inline-flex gap-0.5 rounded border border-white/20 bg-white/10 px-0.5 text-xs text-white/70">↵</span>{/if}</button>
src/lib/components/Playground/Playground.svelte+2-2