Skip to content

Commit d92cb67

Browse files
mashdragonngxson
andauthored
server : (webui) Fix Shift+Enter handling (#11609)
* Fix Shift+Enter handling `exact` on the Enter handler means the message is not sent when Shift+Enter is pressed anyway * build index.html.gz --------- Co-authored-by: Xuan Son Nguyen <[email protected]>
1 parent 6eecde3 commit d92cb67

File tree

2 files changed

+0
-1
lines changed

2 files changed

+0
-1
lines changed

examples/server/public/index.html.gz

-21 Bytes
Binary file not shown.

examples/server/webui/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ <h2 class="font-bold ml-4">Conversations</h2>
154154
placeholder="Type a message (Shift+Enter to add a new line)"
155155
v-model="inputMsg"
156156
@keydown.enter.exact.prevent="sendMessage"
157-
@keydown.enter.shift.exact.prevent="inputMsg += '\n'"
158157
:disabled="isGenerating"
159158
id="msg-input"
160159
dir="auto"

0 commit comments

Comments
 (0)