Skip to content

Commit

Permalink
win: Send a KEYEVENTF_KEYUP when releasing a Unicode Key as well
Browse files Browse the repository at this point in the history
  • Loading branch information
pentamassiv committed Aug 14, 2024
1 parent d3101d1 commit 23af09d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/win/win_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,7 @@ impl Keyboard for Enigo {
KEYEVENTF_UNICODE | KEYEVENTF_KEYUP,
// Must be zero
VIRTUAL_KEY(0),
// TODO: Explain why this is not utf16_surrogate
result[0],
utf16_surrogate,
self.dw_extra_info,
));
}
Expand Down

0 comments on commit 23af09d

Please sign in to comment.