Rescaling the window break Yazi
Zeioth opened this issue · comments
Even though this might actually be a nvim bug (I also experience it by running yazi on :terminal), it's worth checking the ranger plugin https://github.com/kevinhwang91/rnvimr
They managed to overcome this limitation.
Might be improved a bit with #59, but it will probably be useful to see how the rnvimr is able to avoid this issue altogether.
I think I figured out how rnvimr does it, it seemed to use RPC (remote procedure calls) from nvim to ranger in order to work around the resizing by telling the file manager itself to resize.
The same thing could theoretically be done here if some kind of api for this became available in yazi.
Related sxyazi/yazi#989
This can now be tracked in #39