I'm trying to use GLFW.PostEmptyEvent() to trigger the rendering. But when blocked by GLFW.WaitEvents(), it fails to awake the window by other function and only responds to a physical event (mouse or keyboard). For example, this code has no effect
@async while GLFW.WindowShouldClose(CImGui.current_window()) == 0
GLFW.PostEmptyEvent()
sleep(0.01)
end