code: def _get_root(cls, order: Optional[str] = None) -> "Console":
          
          global _root_console
          if _root_console is None:
              _root_console = object.__new__(cls)
          self = _root_console  # type: Console
          if order is not None:
              self._order = order
          self.console_c = ffi.NULL
          self._init_setup_console_data(self._order)
          return self
docs: Return a root console singleton with valid buffers.
  
          This function will also update an already active root console.