From a9a1f5e247cb267e5047417b870bbab92afd2751 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 21 Aug 2024 16:05:48 -0700 Subject: [PATCH] fix: Add edit_format to get_input method --- aider/io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/io.py b/aider/io.py index e9f1cf68e..adb026ab3 100644 --- a/aider/io.py +++ b/aider/io.py @@ -230,7 +230,7 @@ class InputOutput: with open(str(filename), "w", encoding=self.encoding) as f: f.write(content) - def get_input(self, root, rel_fnames, addable_rel_fnames, commands, abs_read_only_fnames=None): + def get_input(self, root, rel_fnames, addable_rel_fnames, commands, abs_read_only_fnames=None, edit_format=None): if self.pretty: style = dict(style=self.user_input_color) if self.user_input_color else dict() self.console.rule(**style) @@ -239,7 +239,7 @@ class InputOutput: rel_fnames = list(rel_fnames) show = " ".join(rel_fnames) - show += "\n> " + show += f"\n{edit_format}\n> " inp = "" multiline_input = False