Flickering in console

Hi,

I tried to run my game in console and it works, but I got a lot of
flickering. Is there a way to detect vsync and use SDL_Flip() in console?

Thanx in advance.–
Milan Babuskov
http://njam.sourceforge.net