I am trying to use gloss
https://hackage.haskell.org/package/gloss
from ghci. The "display" command will open a window
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 somewhat annoying - especially since ghci's
command line history does not get written,
so when I re-start it, I have to re-type
(work-around: before "display", close ghci,
this will write history, then restart and draw. Ugly.)
The gloss FAQ suggests ghci -fno-ghci-sandbox
but this does not help (ghci still exits,
this time, without printing the message).
- J.
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
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. [...]