mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
style: Shorten file list labels for cleaner display
This commit is contained in:
parent
8b9154bab0
commit
262f217d04
1 changed files with 2 additions and 2 deletions
|
@ -732,12 +732,12 @@ class InputOutput:
|
||||||
editable_files = [f for f in sorted(rel_fnames) if f not in rel_read_only_fnames]
|
editable_files = [f for f in sorted(rel_fnames) if f not in rel_read_only_fnames]
|
||||||
|
|
||||||
if read_only_files:
|
if read_only_files:
|
||||||
files_with_label = ["Read only files:"] + read_only_files
|
files_with_label = ["Read only:"] + read_only_files
|
||||||
console.print(Columns(files_with_label))
|
console.print(Columns(files_with_label))
|
||||||
if editable_files:
|
if editable_files:
|
||||||
if read_only_files:
|
if read_only_files:
|
||||||
console.print()
|
console.print()
|
||||||
files_with_label = ["Editable files:"] + editable_files
|
files_with_label = ["Editable:"] + editable_files
|
||||||
console.print(Columns(files_with_label))
|
console.print(Columns(files_with_label))
|
||||||
|
|
||||||
return output.getvalue()
|
return output.getvalue()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue