mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-17 15:17:52 -06:00
fix: align freshness details in one column
This commit is contained in:
1 parent
651b1404db
commit
92ee0cf118
2 files changed
+12
-2
No files matched your search
@@ -1407,8 +1407,10 @@ def render(findings: list[Finding]) -> str:
|
||||
cols = f" {f.status:7} {f.subject:{width}}"
|
||||
if f.remote:
|
||||
cols += f" {f.local:{local_width}} -> {f.remote}"
|
||||
elif f.local:
|
||||
# An arrow pointing at nothing read as a lost value.
|
||||
elif f.local or (f.detail and local_width):
|
||||
# An arrow pointing at nothing read as a lost value. An empty
|
||||
# local value still takes its column, or the detail starts
|
||||
# where the other rows show theirs.
|
||||
cols += f" {f.local:{local_width}}"
|
||||
if f.detail:
|
||||
cols += f" {f.detail}"
|
||||
|
||||
Reference in new issue
Block a user