forked from zkat/miette
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(graphical): rendering bug on small spans in large spans (zkat#316)
Fixes: zkat#317 It turned out there were two really. One related to how many characters were added for the arrowheads in the gutter, and one where the gutter was extended to a number of characters, including ansi escape codes. However, because ansi escape codes are rather big, there would never be any extension since the system thought the string was already long enough, even though you don't actually see the width of those codes.
- Loading branch information
1 parent
865d67c
commit 7ff4f87
Showing
2 changed files
with
63 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters