Cannot sanely print 0x00

This commit is contained in:
folkert van heusden 2022-03-22 17:11:12 +01:00
parent ab665a4d26
commit 8c22918317

View file

@ -60,7 +60,9 @@ void console::put_char(const char c)
{ {
put_char_ll(c); put_char_ll(c);
if (c == 13) if (c == 0) {
}
else if (c == 13)
tx = 0; tx = 0;
else if (c == 10) else if (c == 10)
ty++; ty++;