From 4ce6e279d3f5f182d5c7b9695b45845d183cb0a4 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 17 May 2023 15:24:40 -0700 Subject: [PATCH] Removed the `canned_input` method and commented out related code. --- aider/io.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/aider/io.py b/aider/io.py index 3731a1e4f..b4909f10f 100644 --- a/aider/io.py +++ b/aider/io.py @@ -69,19 +69,6 @@ class InputOutput: current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S") self.append_chat_history(f"\n# aider chat started at {current_time}\n\n") - def canned_input(self, show_prompt): - console = Console() - - input_line = input() - - console.print(show_prompt, end="", style="green") - for char in input_line: - console.print(char, end="", style="green") - time.sleep(random.uniform(0.01, 0.15)) - console.print() - console.print() - return input_line - def get_input(self, fnames, commands): if self.pretty: self.console.rule() @@ -104,9 +91,6 @@ class InputOutput: show += "\n" show += "> " - # if not sys.stdin.isatty(): - # return self.canned_input(show) - inp = "" multiline_input = False