aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-01-01 17:38:12 +0100
committerBoris Faure <billiob@gmail.com>2019-01-01 18:12:08 +0100
commita34376a8a9429e01b1f54432ad3667fa5606bdf3 (patch)
tree6119d1c03d4485cba62e2940a7d866259d00d7f8 /tests
parenttermptyesc: support DECCRA + tests (diff)
downloadterminology-a34376a8a9429e01b1f54432ad3667fa5606bdf3.tar.gz
tests: ensure DECALN moves cursor to 0;0
Diffstat (limited to '')
-rwxr-xr-xtests/decaln.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/decaln.sh b/tests/decaln.sh
index bb287c4..57245a3 100755
--- a/tests/decaln.sh
+++ b/tests/decaln.sh
@@ -22,6 +22,10 @@ printf '\033[7C\033H\033[8C\033H\033[9C#'
# set cursor shape
printf '\033[4 q'
+#move to 4;4
+# DECALN has to reset cursor to 0;0
+printf '\033[4;4H'
+
# fill space with E
printf '\033#8'