Skip to content

Make Ariadne understand colour & other text styling options #160

@nevakrien

Description

@nevakrien

as discussed in #98 color should be optional and ANSI support should not be assumed.
this could be implemented independently of refactoring so I am noting it here as its own issue.

one way to go about this is adding a field to config named color-mode

enum ColorMode {
On,Off,Auto
}

with auto using known good practice ways like in the colored crate to check for whether ANSI is supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions