display v2: Add Cursor Window

This commit is contained in:
CTCaer
2020-04-30 13:57:43 +03:00
parent 4a57901746
commit 6c1ce41900
4 changed files with 246 additions and 3 deletions

View File

@@ -219,7 +219,7 @@ void gfx_putc(char c)
else if (c == '\n')
{
gfx_con.x = 0;
gfx_con.y +=16;
gfx_con.y += 16;
if (gfx_con.y > gfx_ctxt.height - 16)
gfx_con.y = 0;
}