Describe the bug
When displaying a diff containing a multi-codepoint glyphs (like emoji with skin tones, for example) the horizontal padding is improperly calculated.
To Reproduce
Steps to reproduce the behavior:
- Commit some file
- Make a change that involves a line with a multi-codepoint glyph
- View the diff in lazygit
- See error
Expected behavior
The horizontal padding should be calculated correctly, even when displaying multi-codepoint glyphs
Screenshots
If applicable, add screenshots to help explain your problem.
Version info:
Lazygit version: commit=, build date=, build source=homebrew, version=0.36.0, os=darwin, arch=amd64, git version=2.37.1 (Apple Git-137.1)
Git version: git version 2.37.1 (Apple Git-137.1)
Additional context
Add any other context about the problem here.
Note: please try updating to the latest version or manually building the latest master to see if the issue still occurs.
Describe the bug
When displaying a diff containing a multi-codepoint glyphs (like emoji with skin tones, for example) the horizontal padding is improperly calculated.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The horizontal padding should be calculated correctly, even when displaying multi-codepoint glyphs
Screenshots
If applicable, add screenshots to help explain your problem.
Version info:
Lazygit version:
commit=, build date=, build source=homebrew, version=0.36.0, os=darwin, arch=amd64, git version=2.37.1 (Apple Git-137.1)Git version:
git version 2.37.1 (Apple Git-137.1)Additional context
Add any other context about the problem here.
Note: please try updating to the latest version or manually building the latest
masterto see if the issue still occurs.