-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Description
Windows Terminal version
Canary 1.22.2261.0
Windows build number
10.0.22631.4037 x64
Description of the problem
I believe I may have found an issue with sixels images rendering.
When displaying sixels images with a transparent background (by using P0;1 and not drawing some pixels in any of the colors), it renders perfectly when displayed on its own.

But when it gets close to another sixel image, added either on the previous line, or on the second line of the multi-line image with transparency, its width gets weird.
When the other sixel image is added above, the first band/line of the multi-line image gets slightly stretched.

When the other sixel image is appended after the second line of the multi-line image, that band gets stretched.

Note this also seems to happen in conhost, but with less visible stretching (only noticeable at some font sizes).
Steps to reproduce
Here is the repro text file: test.txt
Expected Behavior
The sixel images to keep their dimensions regardless of other contents displayed in the terminal.
Actual Behavior
Sixel images sometimes get distorted with some bands stretched when other contents is displayed near them.
