charmbracelet / vhs

Your CLI home video recorder 📼
MIT License
14.93k stars 248 forks source link

Escaped prompt when running VHS in a nix shell #458

Open meowgorithm opened 6 months ago

meowgorithm commented 6 months ago

Example below.

pspiagicw commented 1 month ago

The same thing happens when you run vhs record > some.tape. The entire prompt has escape characters.

I found this discussion here, which references this issue.

I don't have much information on why that happens.

But to solve it add bashInteractive to the package lists of whichever system you use Nix Flakes, configuration.nix or Home Manager.

I use flake.nix to manage dependencies per project and adding it to the package lists solved the above issues for me. Hope it helps @meowgorithm .