broot icon indicating copy to clipboard operation
broot copied to clipboard

broot hangs on a large nested directory

Open sschuldenzucker opened this issue 8 months ago • 1 comments

When I open broot in my home directory (with a lot of nested stuff under it), at first it works fine but at some point it'll hang completely: I can't add/delete letters or quit or cancel; Ctrl+C doesn't work; need to kill using kill from another terminal.

This occurs consistently in my home directory (though it's probably hard to reproduce for someone else :/).

I think the hanging occurs after typing a few letters, where there are not so many matches in shallow levels below anymore and broot recurs deeper and deeper into the hierarchy trying to find more matches to show.

It seems unavoidable that this is slow, but the hangup shouldn't occur.

System Information

  • broot 1.30.0
  • broot config: default
  • MacBook Pro M2 Max
  • MacOS Sonoma 14.1.1
  • Terminal: Kitty with nushell; also tried with the default MacOS Terminal with zsh, same result.
  • I guess it's possible that some app has put some funky read-from-the-network-on-demand filesystem somewhere below my home directory but I'm not sure how to find out tbh.

sschuldenzucker avatar Dec 06 '23 12:12 sschuldenzucker