This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository terminology.
View the commit online.
commit 17839749cfd6fd8e0020112d70182ba43faa2cd9
Author: Boris Faure <[email protected]>
AuthorDate: Thu Sep 17 21:50:41 2026 +0000
tests: add sgr-long.sh to test {over/under}line
---
tests/sgr-overline.sh | 32 ++++++++++++++++++++++++++++++++
tests/tests.results | 1 +
2 files changed, 33 insertions(+)
diff --git a/tests/sgr-overline.sh b/tests/sgr-overline.sh
new file mode 100755
index 00000000..cb595f45
--- /dev/null
+++ b/tests/sgr-overline.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+# clear screen
+printf '\033[2J'
+
+##
+# 53 sets the overline, 55 removes it
+##
+
+printf '\033[3;1H'
+printf '\033[53moverlined\033[55m plain'
+
+##
+# the overline and the underline are independent
+##
+
+printf '\033[5;1H'
+printf '\033[4;53mboth\033[24m overlined\033[53;4m both\033[55m underlined\033[m'
+
+##
+# 54 resets framed and encircled, and leaves the overline alone
+##
+
+printf '\033[7;1H'
+printf '\033[51;52;53mframed encircled overlined\033[54m overlined\033[m'
+
+##
+# a reset clears it
+##
+
+printf '\033[9;1H'
+printf '\033[53moverlined\033[0m plain'
diff --git a/tests/tests.results b/tests/tests.results
index ec3524b3..5b4bca2a 100644
--- a/tests/tests.results
+++ b/tests/tests.results
@@ -157,3 +157,4 @@ osc_selection.sh 1f53d8ce7ca39989e2f8f8a20c9148d0
lf_below_bottom_margin.sh 02e4df0e6de5f23e8947245d9a8e4adf
backlog_scroll_stress.sh 614fa95207570793cb0089243a059eda
sgr-underline-subparam.sh 527b0d806a768efbae630bf276fa9f6c
+sgr-overline.sh f9b5f05cd6ef8a2f261f3cf14b8459d8
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.