-
Notifications
You must be signed in to change notification settings - Fork 102
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
bug: Cursor flickering in cmdline #931
Comments
Probably related to #923. |
i have the same problem on windows terminal using PowerShell |
https://www.reddit.com/r/neovim/comments/1ewaq2u/comment/liy9hsu/?context=3 |
Ok, glad I'm not the only one noticing this. Same for NvChad with clean install |
same here |
1 similar comment
same here |
2024-09-01_00-56-02.mp4presenting the same problem |
unlike top video, mine starts exactly as i go to the bar |
Same here, also on Windows Terminal Powershell |
Same for me: neovim 10.1, macos |
Same here, on Wezterm on windows and WSL |
Does this block of code need to call From the UI perspective a flush means that there's a valid UI state that should be shown. But here it's first flushing with a mouse movement and then move the mouse again. vim.schedule_wrap(function()
if not Util.is_search() then
if vim.api.nvim__redraw then
vim.api.nvim__redraw({ flush = true, cursor = true })
else
vim.cmd.redraw()
end
end
Cmdline.fix_cursor()
end)
end |
@fredizzimo nope, that was indeed wrong! Did a bad copy-paste from the cmdline code and forgot to remove the Just pushed a new release, so should be fixed. Weirdly enough the issue didn't show on Linux, but it did on Windows, MacOS and in Neovide. |
Can confirm its fixed. Tyvm @folke @fredizzimo ❤️ |
Thank you @folke, I can confirm it is fixed on macos + neovim 👍 It was really painful to use cmdline with the flickering cursor. |
Did you check docs and existing issues?
Neovim version (nvim -v)
0.10.1
Operating system/version
Linux 6.6.41
Describe the bug
Cusor flickers in cmdline with "g/pattern" commands or "q:" command-line window open.
Steps To Reproduce
:g/a
.Expected Behavior
Cursor does not flicker.
Repro
The text was updated successfully, but these errors were encountered: