hotfix user input

This commit is contained in:
Merwane Hamadi
2023-04-16 15:31:53 -07:00
committed by Pi
parent 4f33e1bf89
commit 1513be4acd

View File

@@ -55,6 +55,8 @@ class Agent:
loop_count = 0
command_name = None
arguments = None
user_input = ""
while True:
# Discontinue if continuous limit is reached
loop_count += 1
@@ -97,7 +99,6 @@ class Agent:
### GET USER AUTHORIZATION TO EXECUTE COMMAND ###
# Get key press: Prompt the user to press enter to continue or escape
# to exit
user_input = ""
logger.typewriter_log(
"NEXT ACTION: ",
Fore.CYAN,