From 6e5e195ea857d922c3979aec923242a4541b6b32 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 27 Apr 2024 14:40:44 -0700 Subject: [PATCH] resend recent msg --- aider/gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/gui.py b/aider/gui.py index 148495e75..3701ce3c7 100755 --- a/aider/gui.py +++ b/aider/gui.py @@ -281,7 +281,8 @@ class GUI: if "input_history" not in self.state.keys: input_history = list(self.coder.io.get_input_history()) seen = set() - self.state.input_history = [x for x in input_history if not (x in seen or seen.add(x))] + input_history = [x for x in input_history if not (x in seen or seen.add(x))] + self.state.input_history = input_history def button(self, args, **kwargs): "Create a button, disabled if prompt pending"