Terminal Guide

(used by other terminals)

ESC1B ]5D 133731 33 33 37 ;ClearCapturedOutput3b 43 6c 65 61 72 43 61 70 74 75 72 65 64 4f 75 74 70 75 74 ESC1B \5C
other

other ( )

iterm2: ClearCapturedOutput https://iterm2.com/documentation-escape-codes.html