def on_option_list_option_selected(self, event: OptionList.OptionSelected) -> None:
        """Handle an entry in the history being selected.

        Args:
            event: The event to handle.
        """
        event.stop()
        assert isinstance(event.option, Entry)
        self.post_message(self.Goto(event.option.location))
Handle an entry in the history being selected.

        Args:
            event: The event to handle.
        
frogmouth/widgets/navigation_panes/history.py