yorukot / superfile

Pretty fancy and modern terminal file manager
https://superfile.netlify.app
MIT License
7.33k stars 157 forks source link

Deleting entire contents of a folder without deleting the folder itself crashes the TUI #360

Closed RyaIsCoding closed 1 month ago

RyaIsCoding commented 2 months ago

I'm absolutely loving super file but I have a folder for image sequence renders that I clear out often and I crash every time I do which slows me down

Deleting entire contents of a folder without deleting the folder itself crashes the TUI

-Create a new folder -Put multiple files into that folder -Enter folder -Switch to select mode and use the select all short cut -Delete and accept -Pressing Left does nothing -Pressing Right crashes superfile

After deleting the contents of the folder, I should be able to go back to the previous directory

yorukot commented 2 months ago

I've reproduced this error, thank you very much for your report!