Skip to content

feat: add a global minimalist mode that defaults widgets to raw mode#227

Open
ctracey wants to merge 1 commit intosirmalloc:mainfrom
ctracey:main
Open

feat: add a global minimalist mode that defaults widgets to raw mode#227
ctracey wants to merge 1 commit intosirmalloc:mainfrom
ctracey:main

Conversation

@ctracey
Copy link

@ctracey ctracey commented Mar 13, 2026

Adds the foundational plumbing for a global minimalist mode toggle:

  • RenderContext.minimalist flag (optional boolean)
  • Settings.minimalistMode field (default false, Zod-managed)
  • Threads the flag from settings into RenderContext at render time in both piped mode (ccstatusline.ts) and TUI preview (StatusLinePreview.tsx)

Adds an (m) keybind to the Global Overrides TUI menu to toggle minimalist mode on/off. The setting is persisted immediately via onUpdate, and the preview reflects the change in real time via the RenderContext flag.

When minimalist mode is active, the renderer forces rawValue: true on all widgets before calling render(), stripping decorative labels and prefixes globally. No per-widget changes needed.

Adds the foundational plumbing for a global minimalist mode toggle:
- RenderContext.minimalist flag (optional boolean)
- Settings.minimalistMode field (default false, Zod-managed)
- Threads the flag from settings into RenderContext at render time in
  both piped mode (ccstatusline.ts) and TUI preview (StatusLinePreview.tsx)

Adds an (m) keybind to the Global Overrides TUI menu to toggle minimalist
mode on/off. The setting is persisted immediately via onUpdate, and the
preview reflects the change in real time via the RenderContext flag.

When minimalist mode is active, the renderer forces rawValue: true on all
widgets before calling render(), stripping decorative labels and prefixes
globally. No per-widget changes needed.
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