record: set VHS_RECORD=true environment variable in process by rockorager · Pull Request #478 · charmbracelet/vhs (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Conversation
Set the environment variable VHS_RECORD=true in the spawned pty command
to allow processes to detect if it is running in a real TTY or in a VHS
recording. Certain TUI libraries query the terminal for feature
detection which can cause issues when running within a VHS pty. Setting this environment variable allows processes to detect if they are running in VHS and enable/disable features as needed.
Set the environment variable VHS_RECORD=true in the spawned pty command to allow processes to detect if it is running in a real TTY or in a VHS recording. Certain TUI libraries query the terminal for feature detection which can cause issues when running within a VHS pty.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me, thank you so much!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})