Clear screen escape sequence with PIO serial monitor

I am playing around with the serial monitor. I found the robtillaart/ANSI @ ^0.3.5 library. It seems to mostly work. Some of the things that don't work are no surprise (like blinking text).

What did surprise me is that the clearScreen() method doesn’t seem to work.

To be clear: clearScreen() does not work in the serial monitor in VSCode. It does work if I use the “pio device monitor -p xxx -f direct” command from the command line in an iTerm window.

TIA,

D