mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
Added a conditional to display a message only if input is not empty.
This commit is contained in:
parent
8913eb5066
commit
271b0c837b
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue