enh: allow new lines in default prompts

This commit is contained in:
Timothy J. Baek 2024-09-14 23:17:58 +01:00
parent d0df2cbe53
commit fa8d7bd9c6
1 changed files with 3 additions and 2 deletions

View File

@ -307,9 +307,10 @@
/>
</div>
<input
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r border-gray-100 dark:border-gray-800"
<textarea
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r border-gray-100 dark:border-gray-800 resize-none"
placeholder={$i18n.t('Prompt (e.g. Tell me a fun fact about the Roman Empire)')}
rows="3"
bind:value={prompt.content}
/>
</div>