charmbracelet / charmbracelet/vhs

Strange prompt output at the start of the gif

Open
#39 20 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
20.9k
Forks
474
Avg merge
4d 1h
Merged PRs (30d)
2

Description

I attempted to put together a gif to demo my crate, [woodo](https://lib.rs/woodo): https://github.com/knpwrs/woodo

Here is my script:

```tape
Output woodo.gif

Set FontSize 32
Set Width 800
Set Height 1200

Type woodo
Sleep 500ms
Enter
Sleep 500ms
Type sudo woodo
Sleep 500ms
Enter
Type lolnope
Enter
Sleep 5s
```

Here is the output gif:

![woodo](https://user-images.githubusercontent.com/174864/198338724-4651c97c-b987-409f-b74f-2de28dc86e74.gif)

The gif starts out with 11 frames, ending with:

![image](https://user-images.githubusercontent.com/174864/198338936-ff1b8e21-29cd-404c-8f0c-b8676f0db992.png)

Before transitioning to:

![image](https://user-images.githubusercontent.com/174864/198338978-119be033-7697-43c3-9388-f77fa66e5112.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the provided VHS tape script and compare the first 11 frames with the transition shown in the screenshots. Trace the terminal prompt rendering and frame-generation path to identify why the initial output is incorrect; done means the recording starts with the expected prompt output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.