Skip to content

Conversation

@LucioFranco
Copy link
Contributor

@LucioFranco LucioFranco commented Nov 26, 2025

Note

Adds a no_ansi setting that disables ANSI colors globally, wiring it through logger setup, terminal writing, messaging, and infrastructure display.

  • Logger:
    • Add LoggerSettings.no_ansi with default and plumb to tracing via .with_ansi(!no_ansi).
    • Set global utilities/constants::NO_ANSI at startup in setup_logging.
  • Terminal/Display:
    • Introduce NO_ANSI global and use it when rendering messages.
    • Change write_styled_line signature to (..., message, no_ansi) and conditionally apply styling.
    • Update show_message_impl and show_message! macro to pass no_ansi.
    • Update infra display (infra_added/removed/updated) to pass no_ansi.
  • Tests/Docs:
    • Adjust tests to new write_styled_line signature.
    • Minor doc/comment cleanups.

Written by Cursor Bugbot for commit 9b84a79. This will update automatically on new commits. Configure here.

Created using jj-spr 0.1.0
@vercel
Copy link

vercel bot commented Nov 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-v2 Ready Ready Preview Comment Dec 2, 2025 0:20am
framework-docs Ready Ready Preview Comment Dec 2, 2025 0:20am

Created using jj-spr 0.1.0
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.

2 participants