fix the print mangling of scrolled back screens (thought of this about 10s

after committing:P)
This commit is contained in:
Bill Currie 2004-01-22 04:28:24 +00:00
parent 3e5a103e55
commit d9a582a741

View file

@ -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
{