From 688a3adfc13ecee1725b4953b780ecf5feb6e8f0 Mon Sep 17 00:00:00 2001 From: chaoskagami Date: Wed, 15 Jun 2016 21:09:42 -0400 Subject: [PATCH] Log newlines (this didn't happen with the new logbuffer) --- source/std/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5