mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-22 20:53:19 +00:00
330a899eac
In table.rs - added scrollbar to the table - colors changed to use style::palette::tailwind - now colors can be changed with keys (l or →) for the next color, (h or ←) for the previous color - added a footer for key info For table.tape - typing speed changed to 0.75s from 0.5s - screen size changed to fit - pushed keys changed to show the current example better Fixes: https://github.com/ratatui-org/ratatui/issues/800
26 lines
444 B
VHS
26 lines
444 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/table.tape`
|
|
Output "target/table.gif"
|
|
Set Theme "Aardvark Blue"
|
|
Set Width 1400
|
|
Set Height 768
|
|
Hide
|
|
Type "cargo run --example=table --features=crossterm"
|
|
Enter
|
|
Sleep 1s
|
|
Show
|
|
Sleep 2s
|
|
Set TypingSpeed 1s
|
|
Down 3
|
|
Up 6
|
|
Sleep 1s
|
|
Down 3
|
|
Sleep 1s
|
|
Right 1
|
|
Sleep 1s
|
|
Right 1
|
|
Sleep 1s
|
|
Right 1
|
|
Sleep 1s
|
|
Right 1
|
|
Sleep 2s
|