Unexpected ANSI styling in GIF output (original) (raw)

Suggested by @muesli, I tried using vhs to record a demo GIF for a project I'm working on. It didn't come out quite right, and the code isn't open source yet (very soon!). But, I figured I'd open an issue.

Output demo.gif

Set FontSize 32 Set Width 1920 Set Height 1080

Type "./hal" Tab Sleep 4s Enter Sleep 4s Enter Sleep 4s Type "Write a Go program to print hello world" Sleep 3s Escape Sleep 8s

Which generated this GIF:

demo

I would expect to see something like this:

Screenshot 2023-03-07 at 12 08 41 AM

1. The list view title is showing as a full bar in the GIF, but not in the CLI when I look at it. This is just using the list bubble.
2. The status bar isn't showing fully when using a space character and a foreground lipgloss color for empty space.
3. The characters in the status bar are wonky, not properly spaced.

Using version 0.3.0.