mgunyho / tere

Terminal file explorer
European Union Public License 1.2
1.67k stars 36 forks source link

Fix navigating symlinks #24

Closed mgunyho closed 2 years ago

mgunyho commented 2 years ago

Always keep track of the logical path we're at, since there isn't any easy way to figure out if we entered a symlink or not, std::env::current_dir will always give the absolute, symlink-resolved path. This is pretty much a requirement for history tree (#21, #23) to work properly.