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 d9dfd86db40ce76c7d9b52833a5d267aea8127fb
Author: Boris Faure <[email protected]>
AuthorDate: Sun Nov 29 15:16:22 2026 +0000
tests: add osc-66-ignored.sh to check the text-sizing probe reads "no"
opentui probes kitty's text sizing protocol (OSC 66) by printing the OSC
between two CPRs: if the cursor position is the same in both responses,
the terminal does not support it. Terminology swallows OSC 66, so the
probe already answers "no". This guard locks that in: four ESC[1;1R
replies with the cursor unmoved, and no payload text drawn, so a parser
change that printed the OSC text would be caught (opentui would then
believe the protocol is supported).
---
tests/osc-66-ignored.sh | 13 +++++++++++++
tests/tests.results | 1 +
2 files changed, 14 insertions(+)
diff --git a/tests/osc-66-ignored.sh b/tests/osc-66-ignored.sh
new file mode 100755
index 00000000..004b6533
--- /dev/null
+++ b/tests/osc-66-ignored.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+# shellcheck source=tests/utils.sh
+. "$(dirname "$0")/utils.sh"
+
+printf '\033[H\033[6n'
+printf '\033]66;w=1; \033\\'
+printf '\033[6n'
+printf '\033[H'
+printf '\033]66;s=2; \033\\'
+printf '\033[6n'
+# with BEL, and with text that would show if printed
+printf '\033]66;w=2;XY\007'
+printf '\033[6n'
diff --git a/tests/tests.results b/tests/tests.results
index 30354329..986fa522 100644
--- a/tests/tests.results
+++ b/tests/tests.results
@@ -140,6 +140,7 @@ mouse_reporting_mode_mouse_move_pressed_ext_urxvt.sh f0855a96780cf3797e5a72c9a70
mouse_reporting_mode_all_ext_urxvt.sh 229af4cfcbfff66c93fbe21f493853fd
shift_in_out.sh d930f1688708a5a65a36e5b49004ceab
osc-11-query.sh 19bb94fb6002ce679aa7773cd94f8a57
+osc-66-ignored.sh 4454acd08625bc1c15afca975a972558
link_detection.sh 9b1fa98961f82d55d98ff9c00e2ee960
selection_with_tabs.sh 213c7c2d9a8acc731e0b326a88bb71ef
selection_empty_lines.sh 2ae3aa22572ef150457b63ed9a78efdc
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.