Closed tikinang closed 5 months ago
If one tries to open empty directory, code panics.
Steps to replicate:
go install github.com/antonmedv/walk@v1.9.0 mkdir walktest walk
Entering empty dir walktest in tui causes panic.
walktest
This wrap shortcut condition, seems to fix it. TUI correctly shows "no files" message now.
wrap
If one tries to open empty directory, code panics.
Steps to replicate:
Entering empty dir
walktest
in tui causes panic.