Stops line-spamming and clears before printing help

This addresses one issue in #340 perfectly and slightly improves the other.
Corrected wrap-around

This should allow wrap-around and allow proper execution.
Update prompt.c
Fixed formatting
Merge pull request #354 from Nominate/patch-4

Stops line-spamming and clears before printing help