this replaces the old behaviour of using a fixed length of spaces which can sometimes fail to clear the entire line if it's too long
this replaces the old behaviour of using a fixed length of spaces which can sometimes fail to clear the entire line if it's too long