print: Add '\r' whenever '\n' appears for actual serial consoles
This commit is contained in:
		| @@ -122,6 +122,8 @@ int print(char *fmt, ...) { | ||||
| 			} | ||||
| 		} else { | ||||
| 			putc(*c); | ||||
| 			if (*c == '\n') | ||||
| 				putc('\r'); | ||||
| 		} | ||||
| 	} | ||||
| 	va_end(arg); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user