Skip to content

Commit

Permalink
docs(README): put the nvim example before the colors example
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jun 29, 2024
1 parent 12680d7 commit a9b421b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@ $ termsnap -l 9 -c 28 -- cowsay Hello, world

![Termsnap output of the cowsay command saying "hello world"](./media/cow.svg)

```bash
$ (
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
) | termsnap -l 16 -c 72 -- bash --noprofile --rcfile "$PWD/scripts/inputrc"
```

![Termsnap output of a dump of indexed terminal colors](./media/colors.svg)

```bash
$ termsnap -l 12 -c 60 -- nvim --clean ./scripts/example.py <<EOF
:set number
Expand All @@ -55,6 +45,16 @@ EOF

![Termsnap output of example Python code viewed in Neovim](./media/nvim.svg)

```bash
$ (
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
) | termsnap -l 16 -c 72 -- bash --noprofile --rcfile "$PWD/scripts/inputrc"
```

![Termsnap output of a dump of indexed terminal colors](./media/colors.svg)

```bash
$ (
sleep 0.05
Expand Down

0 comments on commit a9b421b

Please sign in to comment.