修改为Enter提交

This commit is contained in:
chen 2023-04-21 20:32:49 +08:00
parent 45c78e6b0e
commit 3bef1292f3

View File

@ -139,7 +139,7 @@ const DEFAULT_CONFIG: ChatConfig = {
historyMessageCount: 4,
compressMessageLengthThreshold: 1000,
sendBotMessages: true as boolean,
submitKey: SubmitKey.CtrlEnter as SubmitKey,
submitKey: SubmitKey.Enter as SubmitKey,
avatar: "1f603",
fontSize: 14,
theme: Theme.Auto as Theme,