def jump_to_history(self) -> Self:
        """Switch to and focus the history pane.

        Returns:
            Self.
        """
        if self.popped_out and self.query_one(Tabs).active == self._history.id:
            self.popped_out = False
        else:
            self.popped_out = True
            self._history.activate().set_focus_within()
        return self
Switch to and focus the history pane.

        Returns:
            Self.
        
frogmouth/widgets/navigation.py