Skip to content

Ignore style in Containers_pp #456

@grayswandyr

Description

@grayswandyr

Following up from this discussion on Discuss: I'd like to have a way to avoid outputting style formatting in some circumstances (e.g. it seems Utop doesn't like styles when using `#install_printer#).

Although it would be less efficient, I tend to think the separation between document building and document printing speaks for providing a conditional printing function, akin to CCFormat.fprintf_dyn_color. What do you think?

Regarding how to implement this, I'm not sure to understand exactly how printing works in Containers_pp but it seems that the idea would be to ignore the color/styles extension when in a Wrap constructor when printing...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions