mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
feat: Conditionally print blank line between file sections based on file count
This commit is contained in:
parent
262f217d04
commit
0dff51920e
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue