    def invalidate(self):
        """
        Invalidate the screen buffer to force a full refresh.
        """
        line = [(None, None, None, None, 1) for _ in range(self._width)]
        self._screen_buffer = [line[:] for _ in range(self._height)]
Invalidate the screen buffer to force a full refresh.
asciimatics/screen.py