mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-22 20:53:19 +00:00
43 lines
No EOL
789 B
VHS
43 lines
No EOL
789 B
VHS
# This is a vhs script. See https://github.com/charmbracelet/vhs for more info.
|
|
# To run this script, install vhs and run `vhs ./examples/demo.tape`
|
|
|
|
Output "target/demo2-social.gif"
|
|
Set Theme "Aardvark Blue"
|
|
# Github social preview size (1280x640 with 80px padding) and must be < 1MB
|
|
# This puts some constraints on the amount of interactivity we can do.
|
|
Set Width 1280
|
|
Set Height 640
|
|
Set Padding 80
|
|
Hide
|
|
Type "cargo run --example demo2 --features crossterm,widget-calendar"
|
|
Enter
|
|
Sleep 2s
|
|
Show
|
|
# About screen
|
|
Sleep 3.5s
|
|
Down # Red eye
|
|
Sleep 0.4s
|
|
Down # black eye
|
|
Sleep 1s
|
|
Tab
|
|
# Recipe
|
|
Sleep 1s
|
|
Set TypingSpeed 500ms
|
|
Down 7
|
|
Sleep 1s
|
|
Tab
|
|
# Email
|
|
Sleep 2s
|
|
Down 4
|
|
Sleep 2s
|
|
Tab
|
|
# Trace route
|
|
Sleep 1s
|
|
Set TypingSpeed 200ms
|
|
Down 10
|
|
Sleep 2s
|
|
Tab
|
|
# Weather
|
|
Set TypingSpeed 100ms
|
|
Down 40
|
|
Sleep 2s |