windows: Fix Japanese IME (#32153)

Fixed an issue where pressing `Escape` wouldn’t clear all pre-edit text
when using Japanese IME.


Release Notes:

- N/A
c71791d64e张小白 committed on 6/5/2025, 12:13:09 PM· committed by GitHubparent244d851
1 file changedLine totals unavailable