The way modifier key state was sent to ImGui seemed flaky (it failed on Windows in the right-shift case because of the issue I describe in #2193); there are already KeyEvent tests that work well to indicate which modifiers are down.
This fixes the issue with InputText (and InputTextMultiline) on Windows, and should also be valid for Mac (even if it doesn't specifically fix an issue there).
The way modifier key state was sent to ImGui seemed flaky (it failed on Windows in the right-shift case because of the issue I describe in #2193); there are already
KeyEvent
tests that work well to indicate which modifiers are down.This fixes the issue with
InputText
(andInputTextMultiline
) on Windows, and should also be valid for Mac (even if it doesn't specifically fix an issue there).