kevinhwang91 / rnvimr

Make Ranger running in a floating window to communicate with Neovim via RPC
BSD 3-Clause "New" or "Revised" License
804 stars 17 forks source link

In and out left border #69

Closed rockyzhang24 closed 3 years ago

rockyzhang24 commented 3 years ago

Hello,

The left border is in and out (i.e., disappearing and reappearing) when I navigate back and force. I attached a short video below.

https://user-images.githubusercontent.com/11582667/105309790-e537bf00-5b71-11eb-9dd8-cbfa000c022a.mov

My system info:

I am not sure whether this is a bug or I miss something? Thank you very much.

Update: I found this issue only happens when I first launch rnvimr. I launch rnvimr using :RnvimrToggle, and then I press q to quit it. When I re-launch it again, the left border has a correct display.

kevinhwang91 commented 3 years ago

Thanks for the feedback, I can reproduce the issue in Big Sur 11.1.

But the issue can't be reproduced in Linux, I'm afraid it's an issue about lib of python, but I will fix it as I could.

rockyzhang24 commented 3 years ago

Thank you. One more thing, after I launch it via :RnvimrToggle, I use <C-\><C-n> to exit the terminal mode, and then I execute :RnvimrResize, the terminal window becomes a little larger and this issue is gone. It seems that the abnormal left border only happens at its first startup.

kevinhwang91 commented 3 years ago

After logging compares with Linux, I found that this issue is caused by ranger in macOS can't receive a resize signal.

It absolutely could be fixed, I want to find an appropriate workaround.

rockyzhang24 commented 3 years ago

Awesome. Thank you. It is definitely a nice ranger plugin. ❤️

kevinhwang91 commented 3 years ago

I think the issue is fixed. If you have another issue, feedback is welcome.

rockyzhang24 commented 3 years ago

Great! Thanks a lot.