mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-24 21:53:21 +00:00
edc2af9822
big_text.rs was a copy of the code from tui-big-text and was getting gradually out of sync with the original crate. It was also rendering something a bit different than the Ratatui logo. This commit replaces the big_text.rs file with a much smaller string representation of the Ratatui logo. ![demo2](https://raw.githubusercontent.com/ratatui-org/ratatui/images/examples/demo2-destroy.gif)
18 lines
638 B
VHS
18 lines
638 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/demo2-destroy.tape`
|
|
# NOTE: Requires VHS 0.6.1 or later for Screenshot support
|
|
Output "target/demo2-destroy.gif"
|
|
Set Theme "Aardvark Blue"
|
|
# The reason for this strange size is that the social preview image for this
|
|
# demo is 1280x64 with 80 pixels of padding on each side. We want a version
|
|
# without the padding for README.md, etc.
|
|
Set Width 1120
|
|
Set Height 480
|
|
Set Padding 0
|
|
Hide
|
|
Type "cargo run --example demo2 --features crossterm,palette,widget-calendar"
|
|
Enter
|
|
Sleep 2s
|
|
Show
|
|
Type "d"
|
|
Sleep 20s
|