added debug stuff for libvt escape sequences