Find the most appropriate space between a bunch of windows on the screen.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Hey accepts locations and sizes on stdin, and prints an x and a y coordinate on stdout. It takes 4 arguments - the width and height of the screen, and the width and height of the window.

If no spaces big enough are found, it returns exit code one, like it should :)

Appologies for the lack of comments, it's late.

Also, appologies about - it was writtten for my a-level coursework and is big, slow and ugly. it could easily be replaced by something much smaller for this. It does, however do some pretty awesome things.

Enjoy :)