https://github.com/magmax/python-readchar
