Log replay keeps only escape sequences it recognises and drops everything else.
What's wrong with this entry?
Rather than stripping known-bad sequences, log replay keeps only sequences it recognises and drops everything else, including private-mode and parameter-prefixed ones.
- Screen-erase is allowed only with parameters 0, 1 or 2; scroll-down only with a single numeric parameter; plus a small set of two-character escapes.
- The parser also reports whether the stream ever moved the cursor to an absolute position, which is what triggers the trailing reposition.
- Unconditional; the reposition only applies when output is a terminal.
cursorAddressed
Strings lifted out of the shipped bundle, so the claim above can be checked against them.