crossterm::enable_raw_mode() on Windows disables ENABLE_PROCESSED_INPUT, which prevents the Windows IME from processing keystrokes. Once the IME enters composition mode, all subsequent keystrokes are swallowed until Escape resets the composition. This is the root cause of #1835 (Windows IME deadlock). The fix is to keep ENABLE_PROCESSED_INPUT enabled or use a different raw-mode strategy on Windows.
Source: investigation of #1835 Windows IME deadlock.
crossterm::enable_raw_mode()on Windows disablesENABLE_PROCESSED_INPUT, which prevents the Windows IME from processing keystrokes. Once the IME enters composition mode, all subsequent keystrokes are swallowed until Escape resets the composition. This is the root cause of #1835 (Windows IME deadlock). The fix is to keepENABLE_PROCESSED_INPUTenabled or use a different raw-mode strategy on Windows.Source: investigation of #1835 Windows IME deadlock.