charmbracelet / charmbracelet/vhs

vhs freezes when i try to load a file

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

Description

for some reason when i try to load a file into vhs it freezes

i'm using the powershell on windows 11
(i installed vhs with scoop)

d.tape:
```
# Where should we write the GIF?
Output demo.gif

# Set up a 1200x600 terminal with 46px font.
Set FontSize 46
Set Width 1200
Set Height 600

# Type a command in the terminal.
Type "echo 'Welcome to VHS!'"

# Pause for dramatic effect...
Sleep 500ms

# Run the command by pressing enter.
Enter

# Admire the output for a bit.
Sleep 5s`
```
and when i run `vhs d.tape`
it freezes with this output
```
File: d.tape
Host your GIF on vhs.charm.sh: vhs publish .gif
Output .gif demo.gif
Set FontSize 46
Set Width 1200
Set Height 600
```

Contributor guide

Open the contributing guide

Research direction

The report names the d.tape input and the vhs d.tape command, with PowerShell on Windows 11 as the environment. First reproduce the freeze with the supplied tape, then trace the file-loading and rendering path; done means the command completes without freezing and produces demo.gif.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, powershell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.