Skip to content

Commit

Permalink
docs(README): add note about sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jun 29, 2024
1 parent a9b421b commit 57006ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ EOF

```bash
$ (
# `sleep` gives bash time to be ready for the command, if this is omitted
# the appearance of prompts can get messed up.
sleep 0.05
echo -ne "for x in {16..231}; do printf \"\\\e[48;5;\${x}m%03d\\\e[0m \" \$x; done\r"
sleep 0.05
Expand Down
2 changes: 2 additions & 0 deletions scripts/examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ termsnap -o ./media/cow.svg -l 9 -c 28 -- cowsay Hello, world


(
# `sleep` gives bash time to be ready for the command, if this is omitted
# the appearance of prompts can get messed up.
sleep 0.05
echo -ne "for x in {16..231}; do printf \"\\\e[48;5;\${x}m%03d\\\e[0m \" \$x; done\r"
sleep 0.05
Expand Down

0 comments on commit 57006ce

Please sign in to comment.