mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-14 17:07:13 +00:00
5b7ad2ad82
- colored gauges - removed box borders - show the difference between ratio / percentage and unicode / no unicode better - better application approach (consistent with newer examples) - various changes for 0.26 featuers - impl `Widget` for `&App` - use color_eyre for gauge.tape - change to get better output from the new code --------- Fixes: https://github.com/ratatui-org/ratatui/issues/846 Co-authored-by: Josh McKinney <joshka@users.noreply.github.com>
14 lines
338 B
VHS
14 lines
338 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/gauge.tape`
|
|
Output "target/gauge.gif"
|
|
Set Theme "Aardvark Blue"
|
|
Set Width 1200
|
|
Set Height 850
|
|
Hide
|
|
Type "cargo run --example=gauge --features=crossterm"
|
|
Enter
|
|
Sleep 2s
|
|
Show
|
|
Sleep 2s
|
|
Enter 1
|
|
Sleep 15s
|