
20 Jan
2017
20 Jan
'17
4:34 p.m.
Dear Cafe - 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.