imsnif / monocle

A Zellij plugin to fuzzy find file names and contents in style 🧐
MIT License
128 stars 9 forks source link

Doesn't start then breaks Zellij #3

Closed ghost closed 10 months ago

ghost commented 1 year ago

I get this when I first start the plugin:

image

Then nothing happens. If I try to relaunch the plugin it doesn't output anything and zellij goes completely unresponsive including the cli so I have to kill the processes.

I am on Linux and zellij v0.37.2. If you could point me to logs I can provide more information.

imsnif commented 1 year ago

I've seen this too - I think this happens because Zellij was opened in a folder with lots of files, then monocle tried to place everything in memory and finally dies. I want to add a limit of some sort and indicate this to the user (also I want to make it open to the CWD of the focused pane to avoid this 99% of the time, but that's another issue)

ghost commented 1 year ago

Actually, it doesn't work anywhere for me. Although I just tried to use strider and a similar thing happened so maybe it's a zellij issue and not plugin specific?

imsnif commented 1 year ago

Could be... do you get a stacktrace or some other error?

ghost commented 1 year ago

No other errors or outputs, just freezes

imsnif commented 1 year ago

So other panes still work? How did you load it?

hunger commented 1 year ago

Please make it open on the CWD of the current pane. That would make the entire thing so much more useful!

imsnif commented 1 year ago

Please make it open on the CWD of the current pane. That would make the entire thing so much more useful!

That's the plan!

aramacs commented 1 year ago

I'm facing the same behavior. In my case took around 10 seconds then it good to go. Only if I spawn a new terminal and zellij again it has to repeat the process.

dmgolembiowski commented 1 year ago

@imsnif I'm wondering if it makes sense to create plugin disk caches beneath the top-level of the zellij plugin directory. This way immediate disk entries could be retrieved and then correct/update after an initial thread renders the last recorded positions.

imsnif commented 10 months ago

This should be solved in the recent version