fix: \r
This commit is contained in:
parent
9c2bc0aa6c
commit
8968c3769d
@ -52,7 +52,7 @@ void terminal_putentryat(char c, uint8_t color, size_t x, size_t y)
|
|||||||
int terminal_putchar(char c)
|
int terminal_putchar(char c)
|
||||||
{
|
{
|
||||||
if (c == '\r')
|
if (c == '\r')
|
||||||
terminal_row = 0;
|
terminal_column = 0;
|
||||||
else if (c == '\n') {
|
else if (c == '\n') {
|
||||||
terminal_column = 0;
|
terminal_column = 0;
|
||||||
terminal_row++;
|
terminal_row++;
|
||||||
|
Loading…
Reference in New Issue
Block a user