added Flush()

This commit is contained in:
mpohoreski 2009-10-26 01:19:24 +00:00
parent 2006407253
commit 831a418a20

View File

@ -605,6 +605,7 @@ Update_t ConsoleBufferTryUnpause (int nLines)
return UPDATE_CONSOLE_DISPLAY;
}
// Flush the console
//===========================================================================
Update_t ConsoleUpdate ()
{
@ -616,3 +617,10 @@ Update_t ConsoleUpdate ()
return UPDATE_CONSOLE_DISPLAY;
}
//===========================================================================
void ConsoleFlush ()
{
int nLines = g_nConsoleBuffer;
ConsoleBufferTryUnpause( nLines );
}