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

Vim normal mode cursor not present #7233

Closed
kipdec opened this issue Aug 10, 2020 · 5 comments
Closed

Vim normal mode cursor not present #7233

kipdec opened this issue Aug 10, 2020 · 5 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@kipdec
Copy link

kipdec commented Aug 10, 2020

Environment

Windows build number: Win32NT 10.0.18363.0
Windows Terminal version (if applicable): 1.0

Any other software?
Vim

Steps to reproduce

  1. Install vim (https://www.vim.org/download.php)
  2. Launch Vim from windows terminal: vim test.txt

Expected behavior

  • Vim should display a blocky, blinking cursor. See the attached screenshot of powershell running this command.

vimcursor

Actual behavior

  • Vim displays as if it is in insert mode with a thin cursor despite being in normal mode. See the attached screenshot of Windows terminal running this command.

vimcursorwindowsterminal

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 10, 2020
@skyline75489
Copy link
Collaborator

I don't know if you're comfortable with the solution but you can change the cursor style using:

{
        "cursorShape": "filledBox"
}

@kipdec
Copy link
Author

kipdec commented Aug 11, 2020

Thanks for the help. That changes the cursor style to the expected filled box, but it doesn't change to the expected style in insert mode. The "|".

@Axedyson
Copy link

@DHowett
Copy link
Member

DHowett commented Aug 21, 2020

So, this is largely a /duplicate of #4335. There's a lot you can do to configure the cursor using the escape sequences documented in those comments, but by and large vim using the Windows cursor Api is just something we're not going to be able to support fully. Once they make the move to VT, we'll be golden.

@ghost
Copy link

ghost commented Aug 21, 2020

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Aug 21, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 21, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

4 participants