Open Jelmerro opened 4 years ago
Just for reference, I briefly tried to implement this again, it's still blocked by the same upstream issue.
Just wanted to drop this here, due to this being referenced an that electron issue. That issue got closed without a proper fix (due to a stupid auto-close bot). You might want to open a new issue on this issue on the electron project. I was having the same issue, but am not working on that project anymore, so I can not contribute with a working reproducable example.
Thanks for the heads up, I'll make a new issue in the Electron repo soon :+1:
Vieb should have Vim's mousehide setting/toggle, to hide the mouse cursor when typing, and show it again when the mouse is moved. These are the requirements for such a feature:
The main reason for the lack of support for this feature is because there is a long-standing Electron bug preventing the cursor from being updated in a webview. I have also tried a couple of workarounds to fix this, but most of them ironically require the mouse to be moved before the cursor styling is applied. See this electron issue for details. I will not merge PRs that do not contain a fix/workaround for this bug, as it defeats the purpose of having a "mousehide" setting.