Line wrap is broken
Made line wrap work again.

Gotta move the cursor at the time when it is past the end, not next time
it is tried to print in an invalid location