macvim-dev / macvim-dev/macvim

Cursor offset when typing

Open
#970 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Renderer
Dominant language
Vim Script
Stars
7.9k
Forks
691
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The further I type on a line the more the cursor is offset away from the text (to the right).

To Reproduce
Detailed steps to reproduce the behavior:

  1. Run mvim --clean
  2. Type i and start typing.

Expected behavior

Screenshot 2019-10-22 at 22 19 06

The last letter being typed in the screenshot is the period but the cursor is way off.

Screenshots
If applicable, copy/paste the text or add screenshots to help explain your problem.

Environment (please complete the following information):

  • Vim version: VIM - Vi IMproved 8.1 (2018 May 18, compiled Oct 21 2019 08:38:12) macOS version Included patches: 1-2168 Compiled by Homebrew
  • OS: macOS 10.15
  • Terminal: GUI

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with mvim --clean on macOS, using the Vim 8.1 environment described and typing progressively longer lines. Inspect the MacVim GUI cursor and text-rendering entry points; done means the cursor remains aligned with the last character while typing.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, vim
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.