We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4806498 commit a8cd564Copy full SHA for a8cd564
examples/server/public/index.html.gz
5.84 KB
examples/server/webui/src/components/ChatScreen.tsx
@@ -228,6 +228,7 @@ export default function ChatScreen() {
228
value={inputMsg}
229
onChange={(e) => setInputMsg(e.target.value)}
230
onKeyDown={(e) => {
231
+ if (e.nativeEvent.isComposing || e.keyCode === 229) return;
232
if (e.key === 'Enter' && e.shiftKey) return;
233
if (e.key === 'Enter' && !e.shiftKey) {
234
e.preventDefault();
0 commit comments