def get_paths_to_use()

in src/pathpicker/screen_control.py [0:0]


    def get_paths_to_use(self) -> List[LineMatch]:
        # if we have selected paths, those, otherwise hovered
        to_use = self.get_selected_paths()
        if not to_use:
            to_use = self.get_hovered_paths()

        # save the selection we are using
        if self.curses_api.allow_file_output():
            output.output_selection(to_use)
        return to_use