the API wrapped window into an iterator and uses a lazy mode to control it. In my program I also have a loop of notify
to watch file and do some stuffs. I think it might be impossible to use iterator here so I turned off lazy but turned out it’s still strange(works but very strange, blinking with my thread sleep calls…).
what’s the correct way of using piston with another event loop?