Pressing alt in Electron makes the menu bar appear. This causes the window to resize, and NyaoVim to re-draw the screen. This has the side-effect that pressing alt can cause the screen to flash white every time I press alt (which I do often, as I use ctrl-alt to switch workspaces).
Expected Behavior
One of two options:
Either, the screen is able to redraw without flashing white
Or, toggling the menu bar does not force the screen to re-draw
Actual Behavior
As above. The screen flashes white, causing me confusion and distress!
Steps to Reproduce (including precondition)
Open NyaoVim. Make sure 'set background=dark' is set.
Pressing alt in Electron makes the menu bar appear. This causes the window to resize, and NyaoVim to re-draw the screen. This has the side-effect that pressing alt can cause the screen to flash white every time I press alt (which I do often, as I use ctrl-alt to switch workspaces).
Expected Behavior
One of two options:
Actual Behavior
As above. The screen flashes white, causing me confusion and distress!
Steps to Reproduce (including precondition)
Your Environment
nvim
version: 0.1.3