Skip to content

Commit fef3d8f

Browse files
fix: disable Enter during IME
1 parent fa78d25 commit fef3d8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/egui/src/widgets/text_edit/builder.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,8 @@ fn remove_ime_incompatible_events(events: &mut Vec<Event>) {
11711171
| Key::ArrowUp
11721172
| Key::ArrowDown
11731173
| Key::ArrowLeft
1174-
| Key::ArrowRight,
1174+
| Key::ArrowRight
1175+
| Key::Enter,
11751176
..
11761177
}
11771178
)

0 commit comments

Comments
 (0)