read terminal escape sequences and output gif animation directly (almost vt102 compatible terminal emulation)