Skip to content

Remove decorative food window-frame mode - #27

Merged
tamirelazar merged 1 commit into
devfrom
feat/frame-mode-fixes
Jun 13, 2026
Merged

Remove decorative food window-frame mode#27
tamirelazar merged 1 commit into
devfrom
feat/frame-mode-fixes

Conversation

@tamirelazar

Copy link
Copy Markdown
Owner

Removes the decorative food window-frame mode (a green border with zero simulation effect, whose name misleads users into expecting food-source behavior). Confirmed purely decorative by the ws5 frame-mode spike.

This does not touch the real image-based food feature (--init food / InitMode::Food / food.rs), which is untouched.

Changes

  • Remove WindowFrame::Food variant, its thickness() arm, render_food(), and both FromStr parse arms (config.rs + config_manager.rs)
  • Relink the window-frame cycle ring to skip Food (forward Reactive→Frame, reverse Frame→Reactive); ring stays complete over None/Negative/Accented/Glow/Reactive/Frame
  • Drop food from the --window-frame help and FromStr error message

Related

Test plan

  • cargo test (758 lib + 46 visual regression), cargo test --all-features --lib (770), cargo clippy -D warnings, cargo fmt — all clean
  • Manual: cycling window frame ( ( / ) ) no longer stops on a food border; reaches all 6 remaining modes

@tamirelazar
tamirelazar merged commit e68c8c4 into dev Jun 13, 2026
3 checks passed
@tamirelazar
tamirelazar deleted the feat/frame-mode-fixes branch June 13, 2026 19:41
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.

1 participant