Closed Zeioth closed 2 months ago
We resize the window, it won't re-scale to the new size.
Closing the Yazi window after this has happened, will display the message "Process exited 0", instead of closing normally.
Sorry I just noticed #39, closing.
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 https://github.com/sxyazi/yazi/issues/989
This can now be tracked in #39
If after opening yazi