Clean out cursor movement commands from base64 stream.