move this out to github.com/doy/libvt100-python