-
Notifications
You must be signed in to change notification settings - Fork 178
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 disappears when opening fzf-lua
#1827
Comments
Does this happen only on nightly? When you say disappears, does it simply vanish? If there’s no way to restore it other than neovim restart this sounds like an upstream issue, I’ll try to reproduce and see if there’s a workaround we can apply from fzf-lua’s side. |
If you can find a more consistent reproduce than 20-40% of the time would be great, also interested to know if this happens when opening This does smell upstream relating to the changes you linked. |
@ibhagwan it does happen only on nightly. And by disappear I mean that I can't see the cursor at all, yet I can still move it (I notice that based on the relative line numbers in the sign column changing). |
cc @seandewar since you're also see this happen and you might be able to give better repro details. |
I don't know if it's relevant but I use |
@MariaSolOs, @gpanders neovim/neovim#31562 (comment)
Could this be related? |
@MariaSolOs, can you post the output of |
Before: |
@MariaSolOs, once the cursor disappears can you run |
Reproduce this in kitty.
The only workaround without restarting I found is attaching a new client: |
This is more likely than not an upstream issue, fzf-lua does nothing that should hide the cursor to this effect. |
This looks like an issue in Nvim since the terminal cursor changes; I've filed an issue at neovim/neovim#32456. |
Thank you @seandewar for the investigation and repro steps! <3 @ibhagwan feel free to close this as it's indeed an editor issue, I don't want to clutter your issue tracker. |
Ty @seandewar. @MariaSolOs, we can keep this for tracking until neovim/neovim#32458 is merged. |
FYI I've merged it now, so the issue should be fixed. 🙏 |
Tysm @seandewar! |
RTFM Checklist
man fzf
/ I am well versed in shell fzfOperating system
Mac
Shell
fish
Neovim version (
nvim --version
)v0.11.0-dev-1734+gac768996b2
Fzf version (
fzf --version
)0.59.0
Output of
:lua print(os.getenv('FZF_DEFAULT_OPTS'))
--color=fg:#f8f8f2,bg:#0e1419,hl:#e11299,fg+:#f8f8f2,bg+:#44475a,hl+:#e11299,info:#f1fa8c,prompt:#50fa7b,pointer:#ff79c6,marker:#ff79c6,spinner:#a4ffff,header:#6272a4 --cycle
Is the problem reproducible with
mini.sh
?mini.sh
mini.sh
mini.sh
(not relevant, requires LSP, Windows, etc)Fzf-lua configuration
Describe the bug / steps to reproduce
I'm sorry for the lack of details on this one, but I don't know how to debug it further. Please let me know if there are logs or anything else I can provide to ease the investigation.
For some strange reason the cursor often (I would say around 20%-40% of the time) disappears after opening
fzf-lua
, forcing me to re-open Neovim for the cursor to be visible again. I think this has to do with the recent changes (like neovim/neovim#31562) in core around terminal cursors.The text was updated successfully, but these errors were encountered: