Open BenjaminKobjolke opened 10 months ago
Hi! I haven't actually used tere
on Windows almost at all, so it very well might be that this is not possible currently, but ideally it should be. What happens if you type /
to go to the root?
I tried using ".." to navigate further up and also "/", no effect.
Demovideo: https://github.com/mgunyho/tere/assets/5636473/9ec2de94-b5a4-47d7-8f9f-210dcc7d337b
Thanks for the video! This is definitely something that should be fixed.
The approach that immediately comes to mind would be to extend the file system navigation (with #[cfg(windows)]
) to pretend that we have a root folder under which the drives would be. It's probably quite ugly but I can't think of another way to do it. Maybe Path
has some API to go beyond the drive root.
I might not have time to work on this before next year, but patches are definitely always welcome.
Is there a way to navigate to a different drive on windows?