Use \r instread its a carriage return which moves the cursor back to start of line without adding a new line.