mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 06:52:35 +00:00
Fix win32 dedicated input line printing to backlog
Use to write win32 input line using WriteConsole then overwrite by CON_Print, so when CON_Print removes color format characters the end of original input line was visable. "hi ^1guys" use to be shown as "hi guysys" in the console backlog.
This commit is contained in:
parent
c501c1ad8a
commit
768083b46f
1 changed files with 3 additions and 3 deletions
|
@ -383,12 +383,12 @@ char *CON_Input( void )
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
CON_HistAdd();
|
|
||||||
Com_Printf( "%s\n", qconsole_line );
|
|
||||||
|
|
||||||
qconsole_linelen = 0;
|
qconsole_linelen = 0;
|
||||||
CON_Show();
|
CON_Show();
|
||||||
|
|
||||||
|
CON_HistAdd();
|
||||||
|
Com_Printf( "%s\n", qconsole_line );
|
||||||
|
|
||||||
return qconsole_line;
|
return qconsole_line;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue