code: def get_active_window(self):
          
          app = get_app()
  
          try:
              return self._active_window_for_cli[app]
          except KeyError:
              self._active_window_for_cli[app] = self._last_active_window or self.windows[0]
              return self.windows[0]
docs: The current active :class:`.Window`.