fix problems with prompt position

Seems to come from tput command that was used for setting color.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
cleanup

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>