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:
Zack Middleton 2013-01-09 15:21:44 -06:00
parent c501c1ad8a
commit 768083b46f

View file

@ -383,12 +383,12 @@ char *CON_Input( void )
return NULL;
}
CON_HistAdd();
Com_Printf( "%s\n", qconsole_line );
qconsole_linelen = 0;
CON_Show();
CON_HistAdd();
Com_Printf( "%s\n", qconsole_line );
return qconsole_line;
}