Simple example of a GLFW application that creates a black window and reads some input and output
Translated from C to D