From 5f147e9fec29f0dbd264cb8de916845afa68f80f 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)