From 73c99c6dd9074c7964df60317dc01ca101efe23b Mon Sep 17 00:00:00 2001 From: the-c0d3r Date: Fri, 18 Oct 2019 09:22:14 +0800 Subject: [PATCH] autorecon.py: fixed termios setattr missing argument --- autorecon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autorecon.py b/autorecon.py index 360e248..11f70a0 100644 --- a/autorecon.py +++ b/autorecon.py @@ -24,7 +24,7 @@ import termios def _quit(): - termios.tcsetattr(sys.stdin.fileno(), TERM_FLAGS) + termios.tcsetattr(sys.stdin.fileno(), termios.TCSADRAIN, TERM_FLAGS) atexit.register(_quit)