Open micahflee opened 6 years ago
I've found this resource, where someone runs into the same problem using GTK+ on a Mac, only in Haskell: https://stackoverflow.com/questions/37370553/how-to-handle-quit-command-cmd-q-in-mac-os-x-in-haskell-gtk2hs
I need to figure out how to handle the NSApplicationWillTerminate signal, and I haven't figured it out yet.
NSApplicationWillTerminate
process::exit(1); 😉 jk jk
process::exit(1);
I've found this resource, where someone runs into the same problem using GTK+ on a Mac, only in Haskell: https://stackoverflow.com/questions/37370553/how-to-handle-quit-command-cmd-q-in-mac-os-x-in-haskell-gtk2hs
I need to figure out how to handle the
NSApplicationWillTerminate
signal, and I haven't figured it out yet.