First time here? Check out the FAQ!
answered 2017-08-13 06:04:54 -0600
The solution is simple, yet undocumented properly.
Just use waitKeyEx(1)