In visual mode, the cursor was displayed incorrectly when it was at the end of a line.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
At the end of the line it should appear as a square, but the head appears as a vertical bar.
Screenshots


Environment (please complete the following information):
Extension Author (truncated) Version
vscode-nginx-conf ahm 0.1.3
Bookmarks ale 13.2.4
doxdocgen csc 1.4.0
arm dan 1.7.4
code-runner for 0.11.7
vscode-pull-request-github Git 0.42.0
markdown-image han 1.1.20
vue-snippets hol 1.0.4
vscode-peacock joh 4.0.1
volar joh 0.34.11
vscode-typescript-vue-plugin joh 0.34.11
inifmt lkr 0.1.4
cortex-debug mar 1.4.4
git-graph mhu 1.30.0
vscode-language-pack-zh-hans MS- 1.67.2
cmake-tools ms- 1.10.5
cpptools ms- 1.9.8
cpptools-extension-pack ms- 1.2.0
makefile-tools ms- 0.5.0
vsliveshare ms- 1.0.5527
vsliveshare-audio ms- 0.1.91
vsliveshare-pack ms- 0.4.0
material-icon-theme PKi 4.17.0
platformio-ide pla 2.4.3
vscode-yaml red 1.7.0
sass-indented syl 1.8.19
cmake twx 0.0.17
vscode-terminal-here Tyr 0.2.4
vim vsc 1.22.2
JavaScriptSnippets xab 1.8.0
material-theme zhu 3.13.24
linkerscript Zix 1.0.2
(2 theme extensions excluded)
Additional context
Add any other context about the problem here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the cursor appearance problem in VSCodeVim's visual mode at the end of a line, using the behavior and screenshots described in this issue. No source files or tests are named, so locate the visual-mode cursor handling and its tests first; done means the cursor appears as a square at line endings without regressing other visual-mode positions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vim, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100