code: def reset(self):
          
          self._cli.reset()
          self._cli.buffers[DEFAULT_BUFFER].reset()
          self._cli.renderer.request_absolute_cursor_position()
          self._cli._redraw()
docs: Resets terminal screen