aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-09-13 06:57:07 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-09-13 07:04:18 +0000
commit9151685d04ef3b572f0c574e559143a71f97a854 (patch)
treefa663bca377a7266f94c24224da7e4bbd9a663e9
parentosc: OSC-1 does not set the icon, it sets the icon _label_ (diff)
csi: revert implementation of CSI 20 t
-rw-r--r--csi.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/csi.c b/csi.c
index 61e0e44b..35a39f82 100644
--- a/csi.c
+++ b/csi.c
@@ -1249,6 +1249,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
case 8: LOG_WARN("unimplemented: resize window in chars"); break;
case 9: LOG_WARN("unimplemented: maximize/unmaximize window"); break;
case 10: LOG_WARN("unimplemented: to/from full screen"); break;
+ case 20: LOG_WARN("unimplemented: report icon label"); break;
case 24: LOG_WARN("unimplemented: resize window (DECSLPP)"); break;
case 11: /* report if window is iconified */
@@ -1352,16 +1353,6 @@ csi_dispatch(struct terminal *term, uint8_t final)
break;
}
- case 20: {
- const char *icon = term_icon(term);
-
- char reply[3 + strlen(icon) + 2 + 1];
- int chars = xsnprintf(
- reply, sizeof(reply), "\033]L%s\033\\", icon);
- term_to_slave(term, reply, chars);
- break;
- }
-
case 21: {
char reply[3 + strlen(term->window_title) + 2 + 1];
int chars = xsnprintf(