Skip to content

Commit

Permalink
windows: Fix input of unicode >= 0x8000
Browse files Browse the repository at this point in the history
WCHAR is unsigned, not signed.

Fixes #99
  • Loading branch information
peterh committed Feb 18, 2018
1 parent 3681c2a commit e1deee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ type key_event_record struct {
RepeatCount uint16
VirtualKeyCode uint16
VirtualScanCode uint16
Char int16
Char uint16
ControlKeyState uint32
}

Expand Down

0 comments on commit e1deee0

Please sign in to comment.