From 8b9154bab04896b7a52241a5df8a18c50798f98f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 13 Nov 2024 13:24:51 -0800 Subject: [PATCH] feat: Add labels to read-only and editable files columns --- aider/io.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()