[Windows] Can't always browse root of drive
lnav version
v0.13.1-rc3
Describe the bug
When starting lnav with -N, I can't always reach the drive root with :open \. Using drive letters works.
I seem to only encounter this when starting lnav from somewhere in the binary's path, like when downloading and manually unzipping the release from GitHub. If I run the same binary from somewhere else, the problem doesn't appear.
To Reproduce
Works:
cd ~
c:\temp\lnav\lnav.exe -N
:open \windows
Doesn't work:
cd c:\temp\lnav
.\lnav.exe -N
:open \windows
Yeah, there's funkiness with msys and some paths. I'm a little too tired of it at the moment to try to figure out a workaround.
I don't think it matters much. Just took me a few moments to figure out I could just start with the drive letter. Better that you work on features than spending too much time on the Windows build, it will always be the backup choice for anyone allowed to use an OS better suited to get things done 😀