wparam is set to VK_PROCESSKEY so gate on that; this helps to prevent emitting the initial character of a composition sequence to the terminal.
wparam is set to VK_PROCESSKEY so gate on that; this helps to prevent emitting the initial character of a composition sequence to the terminal.