From 8aa03fe34048b0f4538be79799a2f8c0e00ad2d2 Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Tue, 22 Dec 2020 14:36:20 +0100 Subject: [PATCH] Added readline import for more sophisticated CLI features. --- rcon/console.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rcon/console.py b/rcon/console.py index ca72c35..501494b 100644 --- a/rcon/console.py +++ b/rcon/console.py @@ -3,6 +3,9 @@ from getpass import getpass from typing import Union +# For CLI history, etc. +import readline # pylint: disable=W0611 + from rcon.config import Config from rcon.exceptions import RequestIdMismatch, WrongPassword from rcon.proto import Client