Terminal emulator for pyusb devices