fix: Improve formatting of file list and edit format in input prompt

This commit is contained in:
Paul Gauthier 2024-08-21 16:08:52 -07:00 committed by Paul Gauthier (aider)
parent c9c45cb3ed
commit 99f330f30b

View file

@ -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