mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix: Improve formatting of file list and edit format in input prompt
This commit is contained in:
parent
c9c45cb3ed
commit
99f330f30b
1 changed files with 6 additions and 2 deletions
|
@ -246,8 +246,12 @@ class InputOutput:
|
|||
print()
|
||||
|
||||
rel_fnames = list(rel_fnames)
|
||||
show = " ".join(rel_fnames)
|
||||
show += f"\n{edit_format}\n> "
|
||||
show = ""
|
||||
if rel_fnames:
|
||||
show = " ".join(rel_fnames) + "\n"
|
||||
if edit_format:
|
||||
show += edit_format
|
||||
show += "> "
|
||||
|
||||
inp = ""
|
||||
multiline_input = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue