spectre.console icon indicating copy to clipboard operation
spectre.console copied to clipboard

ANSI to Spectre.Console ANSI Text converter

Open volundmush opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

No current problem, but a thing I'd really like.

Describe the solution you'd like A clear and concise description of what you want to happen.

Rich has a utility function that can take text which has already been rendered as ANSI and convert it into a Text object. I haven't found an equivalent to it in Spectre.Console and a MUD project I'm thinking of porting from Python depends on it.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Well, I mean, I could write my own, but this seems like a thing that ought to be in Spectre.Console.

Additional context Add any other context or screenshots about the feature request here.

volundmush avatar Aug 01 '22 09:08 volundmush