[Haskell-cafe] gloss from ghci
svenpanne at gmail.com
Mon Jan 23 14:50:54 UTC 2017
2017-01-20 22:34 GMT+01:00 Johannes Waldmann <
johannes.waldmann at htwk-leipzig.de>:
> I am trying to use gloss https://hackage.haskell.org/package/gloss from
> ghci. The "display" command will open a indow and draw the picture on it
> just fine.
> But when I close this window by hitting ESC, ghci prints <interactive>:
> interrupted and exits, so I'm back at the shell from where I started ghci.
This is caused by:
GLUT's actionOnWindowClose *does* work, at least it does nowadays, the line
in question is from 2011. I've just tested my HSuperBible7 package under
ghci, and you can start/stop/restart the examples from the prompt. The
I think this is worth a ticket in the gloss project...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe