mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	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 <son@huggingface.co>
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| @@ -154,7 +154,6 @@ | |||||||
|             placeholder="Type a message (Shift+Enter to add a new line)" |             placeholder="Type a message (Shift+Enter to add a new line)" | ||||||
|             v-model="inputMsg" |             v-model="inputMsg" | ||||||
|             @keydown.enter.exact.prevent="sendMessage" |             @keydown.enter.exact.prevent="sendMessage" | ||||||
|             @keydown.enter.shift.exact.prevent="inputMsg += '\n'" |  | ||||||
|             :disabled="isGenerating" |             :disabled="isGenerating" | ||||||
|             id="msg-input" |             id="msg-input" | ||||||
|             dir="auto" |             dir="auto" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 mashdragon
					mashdragon