The far left?
Well, you do this at the beginning of every line
Code:
printf("%*s" "%s", height, " ", " ");
You're padding it out from the left hand side by "height" but also always by 2 characters.
If you want it to keep the same shape but touch the left hand side of the window, then removing those extra spaces should do it.
If you want it to be aligned to the left hand side, remove the printf of those spaces altogether.
Or - if you're on a system where you can't normally get to the far left of the screen, there's usually a way to move the cursor, but it'll be OS specific. E.g. setCursorPos
SetCursorPos function (Windows) on Windows.
Or if I've completely missed your point, what are you actually trying to do? What's this code meant to achieve.... why are you using a "height" variable for horizontal spacing?