From 4fb61ac8f3447f0f3d3a7a3a79fee7e0bd81d89d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 26 Feb 2025 09:43:27 +0530 Subject: [PATCH] Better error message for OSC 666 --- kitty/vt-parser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kitty/vt-parser.c b/kitty/vt-parser.c index 8b968faf3..04879ecb8 100644 --- a/kitty/vt-parser.c +++ b/kitty/vt-parser.c @@ -565,6 +565,9 @@ dispatch_osc(PS *self, uint8_t *buf, size_t limit, bool is_extended_osc) { REPORT_COMMAND(screen_pop_dynamic_colors); screen_pop_colors(self->screen, 0); break; + case 666: + REPORT_ERROR("Ignoring OSC 666, typically used by VTE terminals for shell integration"); + break; case 697: REPORT_ERROR("Ignoring OSC 697, typically used by Fig for shell integration"); break;