Spaces:
Sleeping
Sleeping
Same shortcut as other chatbots
Browse files153 unmodified lines154155156157157158159160206 unmodified lines367368369370370371372373153 unmodified lines }
function onKeydown(event: KeyboardEvent) { if ((event.ctrlKey || event.metaKey) && event.key === 'Enter') { if (!event.shiftKey && event.key === 'Enter') { submit(); } }206 unmodified lines {:else} Run <span class="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 >↵</span > {/if} </button>src/lib/components/Playground/Playground.svelte+2-2