Using tput to clear a line in-place