void IncrementX () { cursorLeft++; if (cursorLeft >= WindowWidth) { cursorTop++; cursorLeft = 0; if (cursorTop >= WindowHeight) { // Writing beyond the initial screen if (rl_starty != -1) rl_starty--; cursorTop--; } } }