aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-01-07 12:12:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-01-07 12:12:54 +0000
commit25cd5dae263d409903a2210784602e67ff9a2d00 (patch)
tree55f7f8c7345e37631b167c0b53e5ec1b1ed994ec /osc.c
parentci: "meson [options]" is deprecated (do "meson setup [options]" instead) (diff)
parentchangelog: 'CSI 21 t' and 'OSC 176 ?' disabled (diff)
Merge branch 'ignore-title-and-app-id-report-queries'
Related to #1894
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/osc.c b/osc.c
index 17639c19..e335dc61 100644
--- a/osc.c
+++ b/osc.c
@@ -1498,6 +1498,7 @@ osc_dispatch(struct terminal *term)
case 176:
if (string[0] == '?' && string[1] == '\0') {
+#if 0 /* Disabled for now, see #1894 */
const char *terminator = term->vt.osc.bel ? "\a" : "\033\\";
char *reply = xasprintf(
"\033]176;%s%s",
@@ -1506,6 +1507,9 @@ osc_dispatch(struct terminal *term)
term_to_slave(term, reply, strlen(reply));
free(reply);
+#else
+ LOG_WARN("OSC-176 app-id query ignored");
+#endif
break;
}