unknownOSC method

  1. @override
void unknownOSC(
  1. String ps,
  2. List<String> pt
)
override

Implementation

@override
void unknownOSC(String ps, List<String> pt) {
  _handleSemanticPromptOsc(ps, pt);
  _handleVsCodeShellIntegrationOsc(ps, pt);
  _handleContextSignalOsc(ps, pt);
  onPrivateOSC?.call(ps, pt);

  if (onUnknownSequence == null) return;
  // These OSC families are recognised and acted on above; they only
  // reach this fallback dispatch because they share it with genuinely
  // unknown OSCs. Reporting them here would be a false positive.
  if (ps == '133' || ps == '633' || ps == '3008') return;
  _reportUnknownSequence();
}