Skip to content

pastel format does not print ansi-24bit colors #113

@bbkane

Description

@bbkane

Version

$ pastel --version
pastel 0.6.1

Working on hsl

$ pastel format hsl red
hsl(0, 100.0%, 50.0%)

Not working in ansi-24bit

$ pastel format ansi-24bit red

This returns 0 and doesn't print anything. I would expect it to print an integer between 0 and 255.

Not sure if this is intentional - see #111 . That seems to indicate that this is outputting a control character I can't see. If so, would it be possible to specify a ansi-24bit-int argument that prints out the integer value?

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