for using escom on the Win10-console I did try sucessfully ansicon as
ANSI-escapecode-wrapper.
The new version of mecrisp-stellaris for the RPi Pico R2040 does also use a baudrate up to 921.600, so I recompiled escom with TDM-GCC-32
(had to add the new baudrates to /TDM-GCC-32/include/winbase.h)
Compile went fine and 921.600 Baud are now useable - maybe you will release a new version with your compiler?

escom32_921k6.zip