clobber the prompt when it exceeds the screen width, not when it equals it

current implementation cuts the prompt one character too early