Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: remove non-English inline comment and keep IME guard minimal
  • Loading branch information
Decayo committed Aug 14, 2025
commit 09d097abfd4a93310fbcc016ba16d88e168df9a8
1 change: 0 additions & 1 deletion src/components/FloatingPromptInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,6 @@ const FloatingPromptInputInner = (
return;
}

// 在中文輸入法組字期間,不要觸發送出(部分瀏覽器 keyCode 會是 229)
const composing = (e as any).nativeEvent?.isComposing || isComposing || (e as any).keyCode === 229;
if (e.key === "Enter" && !e.shiftKey && !isExpanded && !showFilePicker && !showSlashCommandPicker && !composing) {
e.preventDefault();
Expand Down