Skip to content

Commit

Permalink
docs: use xterm-256color in example for better compatibility across s…
Browse files Browse the repository at this point in the history
…ystems
  • Loading branch information
tomcur committed Jul 16, 2024
1 parent 2aea9ea commit d685f20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $ termsnap --lines 9 --columns 28 -- cowsay Hello, world
# On exit, for some terminals, Neovim clears the terminal screen by swapping
# back to the main terminal screen buffer. The `--render-before-clear` argument
# renders the terminal screen as it was just prior to that swap occurring.
$ termsnap --lines 12 --columns 60 --term alacritty --render-before-clear -- nvim --clean ./scripts/example.py <<EOF
$ termsnap --lines 12 --columns 60 --term xterm-256color --render-before-clear -- nvim --clean ./scripts/example.py <<EOF
:set number
:syntax enable
:q
Expand Down
2 changes: 1 addition & 1 deletion scripts/examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ termsnap -o ./media/tokei.svg --lines 22 --columns 80 -- tokei
# On exit, for some terminals, Neovim clears the terminal screen by swapping
# back to the main terminal screen buffer. The `--render-before-clear` argument
# renders the terminal screen as it was just prior to that swap occurring.
termsnap -o ./media/nvim.svg --lines 12 --columns 60 --term alacritty --render-before-clear -- nvim --clean ./scripts/example.py <<EOF
termsnap -o ./media/nvim.svg --lines 12 --columns 60 --term xterm-256color --render-before-clear -- nvim --clean ./scripts/example.py <<EOF
:set number
:syntax enable
:q
Expand Down

0 comments on commit d685f20

Please sign in to comment.