Documentation
¶
Overview ¶
Package tape converts a btest.Session into a VHS .tape script.
VHS (github.com/charmbracelet/vhs) is a tool that renders terminal sessions as GIFs from a declarative tape script. This package bridges the blit .tuisess format to the VHS tape format so recorded sessions can be turned into shareable GIFs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
Generate converts a btest.Session into a VHS tape script string.
The resulting script contains:
- A preamble that sets the terminal size from the session metadata.
- A Type, Key, Sleep, or Hide directive for every input step.
- Screen steps are skipped (they are blit assertions, not VHS directives).
Types ¶
Click to show internal directories.
Click to hide internal directories.