diff --git a/aider/io.py b/aider/io.py index f3b1f9737..c9e7eeb7e 100644 --- a/aider/io.py +++ b/aider/io.py @@ -732,13 +732,13 @@ class InputOutput: editable_files = [f for f in sorted(rel_fnames) if f not in rel_read_only_fnames] if read_only_files: - console.print("Read only files:", style="bold") - console.print(Columns(read_only_files)) + files_with_label = ["Read only files:"] + read_only_files + console.print(Columns(files_with_label)) if editable_files: if read_only_files: console.print() - console.print("Editable files:", style="bold") - console.print(Columns(editable_files)) + files_with_label = ["Editable files:"] + editable_files + console.print(Columns(files_with_label)) return output.getvalue()