7043a466c5
When going UP to a parent directory, find the entry whose name matches the last component of the path being left (MC's get_parent_dir_name approach). This is more robust than saved-index restoration because it works even when the parent directory listing changed between visits. Falls back to saved dir_cursors index for non-parent navigation.