pub fn parse_body(body: &[u8]) -> Result<Option<Event<'_>>, Error>Expand description
Parses a body after a terminal dispatcher has consumed OSC 7501; and ST.
Uses the longer two-byte ST when accounting for the whole-sequence cap.
Use parse_sequence to accept a BEL frame at the exact 4096-byte boundary.
ยงErrors
Returns Error for an oversized body or a report that violates a hard cap
or text rule.