Browse Source

Fixed missing newlines after handling KeyboardInterrupts.

pull/2/head 1.1.9
Richard Neumann 4 years ago
parent
commit
406667f674
  1. 3
      rcon/console.py

3
rcon/console.py

@ -24,6 +24,7 @@ def read_host() -> str:
try: try:
return input('Host: ') return input('Host: ')
except KeyboardInterrupt: except KeyboardInterrupt:
print()
continue continue
@ -34,6 +35,7 @@ def read_port() -> int:
try: try:
port = input('Port: ') port = input('Port: ')
except KeyboardInterrupt: except KeyboardInterrupt:
print()
continue continue
try: try:
@ -56,6 +58,7 @@ def read_passwd() -> str:
try: try:
return getpass('Password: ') return getpass('Password: ')
except KeyboardInterrupt: except KeyboardInterrupt:
print()
continue continue

Loading…
Cancel
Save