From 406667f674c430cdae4ab6f0a98ed4b1b85a9aaf Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Sat, 26 Dec 2020 00:56:35 +0100 Subject: [PATCH] Fixed missing newlines after handling KeyboardInterrupts. --- rcon/console.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rcon/console.py b/rcon/console.py index f937861..2e3b849 100644 --- a/rcon/console.py +++ b/rcon/console.py @@ -24,6 +24,7 @@ def read_host() -> str: try: return input('Host: ') except KeyboardInterrupt: + print() continue @@ -34,6 +35,7 @@ def read_port() -> int: try: port = input('Port: ') except KeyboardInterrupt: + print() continue try: @@ -56,6 +58,7 @@ def read_passwd() -> str: try: return getpass('Password: ') except KeyboardInterrupt: + print() continue