diff options
author | Zack Middleton <zturtleman@gmail.com> | 2011-09-12 20:14:36 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 23:37:52 +0000 |
commit | 4e10909d41781f4e29db5e55d052669678b8b975 (patch) | |
tree | 06222e77f65d996a27a97341b074326c99a82565 /src/sys/con_win32.c | |
parent | 7369a652ea5efb00b7a67d3764493a45204de0f8 (diff) |
Fixed win32 dedicated server console output. It use to write input line and then write output over the top of it. Reported by Ensiform.
Diffstat (limited to 'src/sys/con_win32.c')
-rw-r--r-- | src/sys/con_win32.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sys/con_win32.c b/src/sys/con_win32.c index 987c553a..a39bd159 100644 --- a/src/sys/con_win32.c +++ b/src/sys/con_win32.c @@ -327,13 +327,14 @@ char *CON_Input( void ) } } - CON_Show(); - - if( newlinepos < 0) + if( newlinepos < 0) { + CON_Show(); return NULL; + } if( !qconsole_linelen ) { + CON_Show(); Com_Printf( "\n" ); return NULL; } @@ -342,6 +343,7 @@ char *CON_Input( void ) Com_Printf( "%s\n", qconsole_line ); qconsole_linelen = 0; + CON_Show(); return qconsole_line; } |