def on_history_goto(self, event: History.Goto) -> None:
        """Handle a request to go to a location from history.

        Args:
            event: The event to handle.
        """
        self.visit(
            event.location, remember=event.location != self.query_one(Viewer).location
        )
Handle a request to go to a location from history.

        Args:
            event: The event to handle.
        
frogmouth/screens/main.py