mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix the print mangling of scrolled back screens (thought of this about 10s
after committing:P)
This commit is contained in:
parent
3e5a103e55
commit
d9a582a741
1 changed files with 6 additions and 4 deletions
|
@ -355,10 +355,12 @@ C_Print (const char *fmt, va_list args)
|
|||
#ifdef HAVE_CURSES_H
|
||||
if (use_curses) {
|
||||
Con_BufferAddText (output_buffer, buffer->str);
|
||||
while (*txt)
|
||||
draw_fun_char (output, *txt++);
|
||||
wrefresh (output);
|
||||
wrefresh (input); // move the screen cursor back to the input line
|
||||
if (!view_offset) {
|
||||
while (*txt)
|
||||
draw_fun_char (output, *txt++);
|
||||
wrefresh (output);
|
||||
wrefresh (input); // move the cursor back to the input line
|
||||
}
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue