Skip to content

Logo: Preserve the small logo type in generated configs - #2762

Merged
CarterLi merged 2 commits into
fastfetch-cli:devfrom
IshanKale:fix/2758-small-logo-config
Dec 1, 2026
Merged

CarterLi merged 2 commits into
fastfetch-cli:devfrom
IshanKale:fix/2758-small-logo-config

Conversation

@IshanKale

Copy link
Copy Markdown
Contributor

Summary

Selecting the small logo in the interactive generator saved "logo": "small" in minimal configs. On reload, Fastfetch treated small as a source and displayed the default logo.

Related issue

Fixes #2758

Changes

  • Save {"type": "small"} using the existing logo object serializer.
  • Add an interactive regression test and changelog entry.
    Reproduced on 2.71.0 and dev. After the fix, default, small, and disabled logos round-tripped in minimal and full configs on Linux. All 21 CTests passed. Windows PowerShell 5.1 remains untested.
    OpenAI Codex assisted with the fix and testing.

Screenshots

N/A. The change corrects the generated JSON.

Checklist

  • I have tested my changes locally.

@CarterLi
CarterLi merged commit ef7c04e into fastfetch-cli:dev Dec 1, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Interactive Config Generator

2 participants