From e6af00ef976b5ff2953083eb10a23fbc4ba7f31d Mon Sep 17 00:00:00 2001 From: nvbn Date: Wed, 29 Jul 2015 15:33:29 +0300 Subject: [PATCH] #298 Fix selecting command --- thefuck/ui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thefuck/ui.py b/thefuck/ui.py index 22243d39..257b6e66 100644 --- a/thefuck/ui.py +++ b/thefuck/ui.py @@ -17,6 +17,7 @@ except ImportError: ch = sys.stdin.read(1) if ch == '\x03': # For compatibility with msvcrt.getch raise KeyboardInterrupt + return ch finally: termios.tcsetattr(fd, termios.TCSADRAIN, old)