mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-22 20:53:19 +00:00
804c841fdc
This PR adds: - subjectively better-looking list example - change list example to a todo list example - status of a TODO can be changed, further info can be seen under the list.
24 lines
445 B
VHS
24 lines
445 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/list.tape`
|
|
Output "target/list.gif"
|
|
Set Theme "Aardvark Blue"
|
|
Set Width 1200
|
|
Set Height 612
|
|
Hide
|
|
Type "cargo run --example=list --features=crossterm"
|
|
Enter
|
|
Sleep 10s
|
|
Show
|
|
Sleep 2s
|
|
Down@1.5s 3
|
|
Right@1.5s 1
|
|
Sleep 1.5s
|
|
Down@1.5s 3
|
|
Sleep 1.5s
|
|
Up@1s 1
|
|
Sleep 1s
|
|
Right@1.5s 1
|
|
Sleep 1.5s
|
|
Up@1s 4
|
|
Left@1s 1
|
|
Sleep 2s
|