Skip to content

Commit

Permalink
docs(README): simplify cowsay example
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jun 29, 2024
1 parent 1b7a664 commit 0488ffb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
24 changes: 10 additions & 14 deletions media/cow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 2 additions & 5 deletions scripts/examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ cargo build --release

export PATH="$PWD/target/release":$PATH

(
sleep 0.05
printf "cowsay Hello, world\r"
sleep 0.05
) | termsnap -o ./media/cow.svg -l 18 -c 60 -- bash --noprofile --rcfile "$PWD/scripts/inputrc"
termsnap -o ./media/cow.svg -l 10 -c 32 -- cowsay Hello, world


(
sleep 0.05
Expand Down

0 comments on commit 0488ffb

Please sign in to comment.