diff --git a/terminal/terminal.c b/terminal/terminal.c index ee227190..37fa3513 100644 --- a/terminal/terminal.c +++ b/terminal/terminal.c @@ -4022,6 +4022,7 @@ static void term_out(Terminal *term, bool called_from_term_data) /* Compatibility is nasty here, xterm, linux, decterm yuk! */ compatibility(OTHER); term->termstate = SEEN_OSC; + term->osc_strlen = 0; term->esc_args[0] = 0; term->esc_nargs = 1; break;