05.07.2014 - Best I could get is something like this below. But that works partially, catching the keys only if within the 0.05 sec. import sys,tty,termios class .