diff --git a/aider/coder.py b/aider/coder.py index 05c2a4a64..e62582b84 100755 --- a/aider/coder.py +++ b/aider/coder.py @@ -222,7 +222,8 @@ class Coder: ] self.cur_messages = [] - self.io.tool("Use up-arrow to retry previous command:", inp) + if inp.strip(): + self.io.tool("Use up-arrow to retry previous command:", inp) return if not inp: