tests: test that cursor restore does restore wrapnext status

Here, the tests restores the flag not set
pull/4/head
Boris Faure 5 months ago
parent 0f40fb4845
commit 50ea966dff
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
  1. 28
      tests/cursor-restore-wrapnext.sh
  2. 1
      tests/tests.results

@ -0,0 +1,28 @@
#!/bin/sh
# fill space with E
printf '\033#8'
# set color
printf '\033[46;31;3m'
# move to start of line 3
printf '\033[3;0H'
# print O
printf 'O'
# save cursor
printf '\e7'
# move to end of line 3
printf '\033[3;80H'
# print A, that sets "wrapnext"
printf 'A'
# restore cursor: "wrapnext" should not be set
printf '\e8'
# print K. must be next to 'O'
printf 'K\n'

@ -1,4 +1,5 @@
esc_term_name_version.sh eaa32a60e008258c7edfd363a624e0da
cursor-restore-wrapnext.sh 4b715ccc5afcd9684894eb8934bce333
decfra-no-restrict-cursor.sh f15874672d1ea46b8110ef58c2b40a91
decfra-restrict-cursor.sh f313f9cdc0723debe08219fcdf3ccd6e
decera-no-restrict-cursor.sh 945720993f1058d959b3600e1b3a7d0d

Loading…
Cancel
Save