From b6fbaf1c33103da2f1568dd1579096dacc3fbebf Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 9 May 2023 18:03:23 -0700 Subject: [PATCH] avoid repainting the live view when it is done --- aider/coder.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aider/coder.py b/aider/coder.py index ad9e19ef7..0beb12850 100755 --- a/aider/coder.py +++ b/aider/coder.py @@ -322,11 +322,11 @@ class Coder: md = Markdown(self.resp, style="blue", code_theme="default") live.update(md) - live.update(Text("")) - live.stop() + # live.update(Text("")) + # live.stop() - md = Markdown(self.resp, style="blue", code_theme="default") - self.console.print(md) + # md = Markdown(self.resp, style="blue", code_theme="default") + # self.console.print(md) pattern = re.compile( r"(^```\S*\s*)?^((?:[a-zA-Z]:\\|/)?(?:[\w\s.-]+[\\/])*\w+(\.[\w\s.-]+)*)\s+(^```\S*\s*)?^<<<<<<< ORIGINAL\n(.*?\n?)^=======\n(.*?)^>>>>>>> UPDATED", # noqa: E501