]> Chaos Git - corbenik/corbenik.git/commitdiff
Log newlines (this didn't happen with the new logbuffer)
authorchaoskagami <chaos.kagami@gmail.com>
Thu, 16 Jun 2016 01:09:42 +0000 (21:09 -0400)
committerchaoskagami <chaos.kagami@gmail.com>
Thu, 16 Jun 2016 01:09:53 +0000 (21:09 -0400)
source/std/draw.c

index 51f1d8fe11bfad7f8169c1f4d5d73cf2187ad623..fb4c930d6fb99d88b4d887c60de05d1a5893b93f 100644 (file)
@@ -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);