Erase something whose you write before: message

def erase(self, message=None):
        """Erase something whose you write before: message"""
        if not message:
            message = self.last_message
        # Move cursor to the beginning of line
        super(Animation, self).write("\033[G")
        # Erase in line from cursor
        super(Animation, self).write("\033[K")