fix bug when splitting output
add an optional post-processing parameter to the vt100 output function