Skip to content

prettyprinter-ansi-terminal: add 'text' flag#279

Open
Bodigrim wants to merge 1 commit intohaskell-prettyprinter:masterfrom
Bodigrim:text-flag
Open

prettyprinter-ansi-terminal: add 'text' flag#279
Bodigrim wants to merge 1 commit intohaskell-prettyprinter:masterfrom
Bodigrim:text-flag

Conversation

@Bodigrim
Copy link
Contributor

@Bodigrim Bodigrim commented Mar 5, 2026

As discussed at #264 (comment)

@sjakobi
Copy link
Collaborator

sjakobi commented Mar 6, 2026

What do you think, @Ei30metry, @a-02?

@a-02
Copy link
Collaborator

a-02 commented Mar 6, 2026

Glad there's a decent description here finally. Nothing I can find objectionable, but I'll wait for @Ei30metry.

Copy link
Collaborator

@sjakobi sjakobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to integrate this into the existing no-text CI.

Is there already any indication that optparse-applicative would use this API, or that there would be another "consumer"?

@Bodigrim
Copy link
Contributor Author

I updated no-text CI job to include prettyprinter-ansi-terminal.

optparse-applicative would need a simple patch (replacing Text.unpack . renderLazy with renderString), which I will implement if this get merged and released.

@sjakobi sjakobi requested a review from Ei30metry March 16, 2026 10:21
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.

3 participants