From 0dff51920e8f14840b677ea5d85b834ad1d72036 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 13 Nov 2024 13:26:09 -0800 Subject: [PATCH] feat: Conditionally print blank line between file sections based on file count --- aider/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index 43921cb3e..a6873e35e 100644 --- a/aider/io.py +++ b/aider/io.py @@ -735,7 +735,7 @@ class InputOutput: files_with_label = ["Read only:"] + read_only_files console.print(Columns(files_with_label)) if editable_files: - if read_only_files: + if read_only_files and (len(read_only_files) > 1 or len(editable_files) > 1): console.print() files_with_label = ["Editable:"] + editable_files console.print(Columns(files_with_label))