Scripts/tuirec/hero-gif.md
For recording Terminal.Gui app/scenario GIFs, use:
./README.md — Full recording workflow with tuirec# Install tuirec (one-time)
go install github.com/gui-cs/tuirec/cmd/tuirec@latest
# Build ScenarioRunner (before any recording)
dotnet build Examples/ScenarioRunner/ScenarioRunner.csproj -c Release
# Record a scenario (cross-platform: use dotnet to run the DLL)
$dll = "./Examples/ScenarioRunner/bin/Release/net10.0/ScenarioRunner.dll"
$ks = 'wait:1000,<keystrokes>,Escape'
tuirec record --binary dotnet --args "$dll,run,<Scenario Name>" --name <id> `
--keystrokes $ks --startup-delay 2000 --drain 2000 --cols 120 --rows 30 --open
See README.md (this directory) for complete guidance including keystroke syntax,
PowerShell quoting rules, and the --kitty-keyboard decision tree.
.cs file:
Examples/UICatalog/Scenarios/<ScenarioDir>/<ScenarioName>.gifdocfx/images/views/<ViewName>.gif