diff options
Diffstat (limited to 'gui/console.cpp')
-rw-r--r-- | gui/console.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/console.cpp b/gui/console.cpp index 6d53ed101..b7713c70c 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -38,6 +38,8 @@ extern "C" void gui_print(const char *fmt, ...) vsnprintf(buf, 512, fmt, ap); va_end(ap); + fputs(buf, stdout); + char *start, *next; if (buf[0] == '\n' && strlen(buf) < 2) { @@ -75,6 +77,8 @@ extern "C" void gui_print_overwrite(const char *fmt, ...) vsnprintf(buf, 512, fmt, ap); va_end(ap); + fputs(buf, stdout); + // Pop the last line, and we can continue if (!gConsole.empty()) gConsole.pop_back(); |