Skip to content

export ansi_string() #573

@multimeric

Description

@multimeric

I'm looking for a way to take an existing character vector with ANSI control codes and treat it as a cli_ansi_string object. Now I could do this by just setting the class of the vector, but I would prefer using a public function for this. ansi_string seems to have some other encoding logic in it too. Internally it seems that you use ansi_string() to do this. Could this become part of the public API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions