Fix Shift+Enter handling

`exact` on the Enter handler means the message is not sent when Shift+Enter is pressed anyway
This commit is contained in:
mashdragon 2025-02-03 04:04:05 +00:00 committed by GitHub
parent 6eecde3cc8
commit 46c1f36c65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,7 +154,6 @@
placeholder="Type a message (Shift+Enter to add a new line)"
v-model="inputMsg"
@keydown.enter.exact.prevent="sendMessage"
@keydown.enter.shift.exact.prevent="inputMsg += '\n'"
:disabled="isGenerating"
id="msg-input"
dir="auto"