khchen / wNim

Nim's Windows GUI Framework
MIT License
327 stars 17 forks source link

[Suggestion] use set[uint8] insteads of array[256, bool] in getKeyStatus function #72

Closed codehz closed 3 years ago

codehz commented 3 years ago

https://github.com/khchen/wNim/blob/06d47ca22a8be81173184ccc677056fc272b901c/wNim/private/wEvent.nim#L282-L290

I think use set[uint8] is a better choice for that function...

khchen commented 3 years ago

Indeed.

khchen commented 3 years ago

Fixed.