I am writing a program with "pynput" which uses Listener() to detect key presses and then based on them performs some action. However one of these actions is typin