-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Double cursors in neovim terminal buffer (and fzf, probably more) #3499
Comments
@schffp Could you share screenshots of what you're seeing? What Windows Terminal version are you running? |
@zadjii-msft Sure! I'll attach screenshots of fzf.vim and the terminal buffer. I'm using version 0.6.2951.0 of Windows Terminal. |
Okay I think I see what's happening here. I bet that this is due to the Windows Terminal not currently supporting the "cursor off" VT sequence. This is tracked over in #3093, but I'm going to cautiously leave this open to make sure this case is also fixed when we implement that. |
I also have this issue, which makes it pretty much impossible for me to use the terminal application |
Adds support for setting the cursor visibility in Terminal. Visibility is a property entirely independent from whether the cursor is "on" or not. The cursor blinker _should_ change the "IsOn" property. It was actually changing the "Visible" property, which was incorrect. This PR additionally corrects the naming of the method used by the cursor blinker, and makes it do the right thing. I added a pair of tests, one taken straight from conhost. In copy-pasting that test, I took it a step further and implemented `^[[?12h`, `^[[?12l`, which enables/disables cursor blinking, for the `TerminalCore`. THIS DOES NOT ADD SUPPORT FOR DISABLING BLINKING IN THE APP. Conpty doesn't emit the blinking on/off sequences quite yet, but when it _does_, the Terminal will be ready. ## References * I'd bet this conflicts with #2892 * This isn't a solution for #1379 * There shockingly isn't an issue for cursor blink state via conpty...? ## PR Checklist * [x] Closes #3093 * [x] Closes #3499 * [x] Closes #4644 * [x] I work here * [x] Tests added/passed * [n/a] Requires documentation to be updated
Has this fixed been deployed to the store yet? I'm still seeing the issue |
@surajp you'll know when we make a new release like the one we sent out 6 minutes ago with an accompanying blog post |
The bot also usually comments on resolved issues, but it doesn't seem to be doing so right now. |
Environment
Steps to reproduce
Open Neovim in WSL Windows Terminal and open a terminal buffer (:ter). Then enter insert mode.
Actual behavior
There will be two cursors.
The text was updated successfully, but these errors were encountered: