]> git.sur5r.net Git - cc65/commitdiff
print a space for 0x0a and 0x0d in the char matrix
authormrdudz <mrdudz@users.noreply.github.com>
Sun, 11 Oct 2015 15:07:48 +0000 (17:07 +0200)
committermrdudz <mrdudz@users.noreply.github.com>
Sun, 11 Oct 2015 15:07:48 +0000 (17:07 +0200)
testcode/lib/conio.c

index 3e4b4539f8871bd5c54ab64ad4f7cd3c69073bf4..a7a83594e931ad57b689b8fdf770a7ce5cc05630 100644 (file)
@@ -58,6 +58,8 @@ void main(void)
         for (i = 0; i < 256; ++i) {
             if ((i != '\n') && (i != '\r')) {
                     cputc(i);
+            } else {
+                    cputc(' ');
             }
         }
         while(wherex() > 0) {