Disabling overflow-wrapping for AnsiConsole.MarkupLine #899
Unanswered
vermiculus
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm developing a tool that spawns external processes (like a shell script, in spirit). For transparency, I want to write out the processes as I start them, eg:
To ensure they stand out, I'm using
AnsiConsole.MarkupLine
to apply some highlighting. This works great -- but some of the commands are over 80 characters long. Presumably,AnsiConsole
is applyingOverflow.Fold
to my content. In this context, that doesn't make sense -- and yields some ugly results.For example, instead of
I'm getting
How can I disable line-wrapping here?
Beta Was this translation helpful? Give feedback.
All reactions