*/
// console.c
-#ifndef WIN32
+#if !defined(WIN32) || defined(__MINGW32__)
# include <unistd.h>
#endif
#include <time.h>
*/
void Con_Linefeed (void)
{
+ if (con_backscroll)
+ con_backscroll++;
+
con_x = 0;
con_current++;
memset (&con_text[(con_current%con_totallines)*con_linewidth], ' ', con_linewidth);
int y, c, l, mask;
static int cr;
- con_backscroll = 0;
-
if (txt[0] == 1)
{
mask = 128; // go to colored text