question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can I use spectre.console to print to my own colored console?

See original GitHub issue

My WPF app has its own console (based on Avalonedit). For colored printing there is a function that takes three integers and a string: PrintColored(red, green, blue, text) Can I use spectre.console to print in color to my own console?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
goswinrcommented, Oct 21, 2020

@patriksvensson Thanks, it works already great in my F# scripting editor. Just the colors are missing. 2020-10-21 12_31_51

1reaction
patriksvenssoncommented, Oct 21, 2020

@goswinr Exactly. If you do that you should be able to use Spectre.Console in your app.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Colors
# Name RGB Hex System.ConsoleColor 0 black 0,0,0 #000000 Black 1 maroon 128,0,0 #800000 DarkRed 2 green 0,128,0 #008000 DarkGreen
Read more >
Spectre.Console - Welcome!
Easily output text with different colors and even styles such as bold, italic and blinking with a Rich inspired markup language. Supports 3...
Read more >
Next-Level Console Apps With Spectre.Console, by João ...
In all these use cases, we get the job done, but since it's not the ... In other words, we can create these...
Read more >
How YOU can build a great looking .NET Console app with ...
What you are seeing is Spectre's ability to color the output. It works in the following way: You call the Markup() method. It...
Read more >
Colorful console logging : r/dotnet
I made an `ILogger` implementation that writes output to Spectre.Console and would like to request feedback from the community.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found