Skip to content

Commit 2e7394e

Browse files
committed
address issue with sending chat message in markdown mode
1 parent ee8ad3f commit 2e7394e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/packages/frontend/chat/input.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,11 @@ export default function ChatInput({
216216
setInput(input);
217217
saveChat(input);
218218
}}
219-
onShiftEnter={on_send}
219+
onShiftEnter={(input) => {
220+
setInput(input);
221+
saveChat(input);
222+
on_send(input);
223+
}}
220224
height={height}
221225
placeholder={getPlaceholder(project_id, placeholder)}
222226
extraHelp={

0 commit comments

Comments
 (0)