Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: flicking with noice detect actual_win with autocmds instead of using vim.g.actual_win #1151

Closed
wants to merge 2 commits into from

Conversation

Sam-programs
Copy link

@Sam-programs Sam-programs commented Nov 21, 2023

this pr locks window focus detection between CmdlineEnter and CmdlineLeave.
to prevent loss of focus by ui replacement plugins.
ui plugins usually return the focus back to the current window after half a second causing flickering.

issue.mp4

@Sam-programs
Copy link
Author

nvm this doesn't happen in nightly neovim, only in 0.9.4 as far as am aware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant