Fixed win32 dedicated server console output. It use to write input line and then write output over the top of it. Reported by Ensiform.
This commit is contained in:
parent
3774a8aeee
commit
0866b667e0
1 changed files with 5 additions and 3 deletions
|
@ -326,13 +326,14 @@ char *CON_Input( void )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CON_Show();
|
if( newlinepos < 0) {
|
||||||
|
CON_Show();
|
||||||
if( newlinepos < 0)
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if( !qconsole_linelen )
|
if( !qconsole_linelen )
|
||||||
{
|
{
|
||||||
|
CON_Show();
|
||||||
Com_Printf( "\n" );
|
Com_Printf( "\n" );
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -341,6 +342,7 @@ char *CON_Input( void )
|
||||||
Com_Printf( "%s\n", qconsole_line );
|
Com_Printf( "%s\n", qconsole_line );
|
||||||
|
|
||||||
qconsole_linelen = 0;
|
qconsole_linelen = 0;
|
||||||
|
CON_Show();
|
||||||
|
|
||||||
return qconsole_line;
|
return qconsole_line;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue