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

Character corruption in markdown diff when scrolling the terminal #10378

Open
martbrooks opened this issue Mar 18, 2025 · 2 comments
Open

Character corruption in markdown diff when scrolling the terminal #10378

martbrooks opened this issue Mar 18, 2025 · 2 comments
Labels

Comments

@martbrooks
Copy link

martbrooks commented Mar 18, 2025

Describe the problem:

When viewing the output of a git diff, I noticed that the characters displayed change when the terminal is scrolled.

The section of the text that corrupts is that of a markdown table header. The text is literally this:

+| :-- | :-- | :-- |

Screenshots attached showing the character corruption.

This is version 1.0.223

installed from brew.

Image Image

To Reproduce:

  • Edit a markdown file introducing a markdown table.
  • Git diff
  • Scroll the terminal.
@RanPIKAQ
Copy link

I also encountered this issue on macOS. I installed version 1.0.223 via Homebrew. The problem manifests as characters getting scrambled when scrolling up, but they return to normal when scrolling down.

Image Image

Some scrambled characters don't recover even after scrolling down—they only temporarily restore after resizing the software window, but the issue reappears when scrolling again.

Image Image

@martbrooks
Copy link
Author

I wonder if this is something to do with font ligatures being enabled. Could it be attempting to ligaturise things it should not?

I'll turn it off and see if the problem re-occurs for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants