Skip to content

Commit

Permalink
Merge pull request #640 from israpps/patch-16
Browse files Browse the repository at this point in the history
[src_printf]: implement `\r`
  • Loading branch information
fjtrujy authored Jul 3, 2024
2 parents 9b79f25 + 81af688 commit c3b14d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ee/debug/src/scr_printf.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,10 @@ void scr_vprintf(const char *format, va_list opt)
X++;
}
break;
case '\r':
X = 0;
// scr_clearline(Y); //Should we clear the line?
break;
default:
scr_putchar(X * 7, Y * 8, fontcolor, c);
X++;
Expand Down

0 comments on commit c3b14d8

Please sign in to comment.