From: chaoskagami Date: Thu, 16 Jun 2016 01:09:42 +0000 (-0400) Subject: Log newlines (this didn't happen with the new logbuffer) X-Git-Tag: v0.1.0~11 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=688a3adfc13ecee1725b4953b780ecf5feb6e8f0;p=corbenik%2Fcorbenik.git Log newlines (this didn't happen with the new logbuffer) --- diff --git a/source/std/draw.c b/source/std/draw.c index 51f1d8f..fb4c930 100644 --- a/source/std/draw.c +++ b/source/std/draw.c @@ -243,7 +243,7 @@ putc(void *buf, const int c) } */ } - if (isprint(c) && buf == BOTTOM_SCREEN) { + if ((isprint(c) || c == '\n') && buf == BOTTOM_SCREEN) { log_buffer[log_size] = c; log_size++; dump_log(0);