This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch tymux-10-quiet-head
in repository terminology.
View the commit online.
commit 00015669cb651fb245633d495a5ef30ce206cc3c
Author: Boris Faure <[email protected]>
AuthorDate: Tue Nov 10 10:29:40 2026 +0000
tests: add decstbm-one-row.sh to check margins on a single row
---
tests/decstbm-one-row.sh | 16 ++++++++++++++++
tests/tests.results | 1 +
2 files changed, 17 insertions(+)
diff --git a/tests/decstbm-one-row.sh b/tests/decstbm-one-row.sh
new file mode 100644
index 00000000..4b78d501
--- /dev/null
+++ b/tests/decstbm-one-row.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# clear screen
+printf '\033[2J\033[H'
+
+# a single row cannot hold top and bottom margins
+printf '\033[8;1;20t'
+printf '\033[1r'
+printf 'abc\033[F\033[J\033[K'
+printf '\033[1;1r'
+printf 'def\033[E\033[1J'
+
+# on 24 rows, a scroll region cannot start on the last one
+printf '\033[8;24;80t'
+printf '\033[24;25r'
+printf '\033[10;1Hdone\r\n'
diff --git a/tests/tests.results b/tests/tests.results
index e626cf93..fad0a827 100644
--- a/tests/tests.results
+++ b/tests/tests.results
@@ -227,3 +227,4 @@ resize-shrink-margins.sh ba1d05b35f8a21f3f398c334a82aeeab
tab-one-column.sh 95a395357401ea44a1308017842c3677
rect-last-column.sh b9ebef7c23ee278b65d7ea16371cdd27
decslrm-two-columns.sh 2bc3f2840cc2e18a5e68b3d9e053a5f2
+decstbm-one-row.sh 1657d126de08379e16ac0e7ec5693309
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.