241
continue;
242
}
244
>
// We're inside an OSC sequence, look for the terminator.
245
>
const result = this._consumeOscBody(data, i);
246
>
i = result.nextIndex;
247
>
if (result.complete) {
248
>
this._inOsc = false;
249
>
const payload = this._pendingOsc;
250
>
this._pendingOsc = '';
251
>
this._handleOscPayload(payload, emitEvent, appendData, result.terminator);
252
>
} else if (result.pendingEsc) {
253
this._pendingEscInOsc = true;
254
}
255
>
// If not complete, _pendingOsc has been extended, and we're at end of data.
osc633Parser.ts
256
>
continue;
257
>
}
258
259
// Look for the next ESC ] which starts an OSC sequence