[MacRuby-devel] Noob q: Press any key to cancel

Rob Ista rob.ista at me.com
Mon Dec 5 14:43:20 PST 2011

Hi, i have broken my braincells while trying to find a simple solution for interrupting a potentially long running calculation loop. 
A key event seems to wait until the app gets back to the main loop, a system("stty raw -echo") just hangs, gets and read.non-block either wait or want a enter to follow any character. I couldn't get it working with a notification either. I just can't find it :) .. Any help appreciated .. tnx, Rob

More information about the MacRuby-devel mailing list