Anybody? I'd prefer not to use ncurses, but if you know of a way specific to curses that's okay too.
Name:
Anonymous2012-02-07 15:40
I'm surprised that a terminal game would need to refresh as often as 60fps or so... But seriously, don't bother matching the refresh rate and make your game independent of refresh rate/CPU speed.
If you really want to, you can get the refresh rate by querying X.org.
Name:
Anonymous2012-02-07 16:50
>>3 X.org
products named after websites=full retard
Name:
Anonymous2012-02-07 17:00
>>3
Thanks, but I'm looking for specific code that I could adapt to make the screen print at a desired framerate. Doesn't need to be the full refresh rate, but I need to be able to print to the screen in a way that won't cause flickering.