C
C#16mo ago
minty

✅ Colorful.Console help

im using colorful.console and im wondering if there is a way to change the color when one is inputting with console.readline
4 Replies
Cvfe Cvt ᵖᵘʳʳ
I'm not sure if there is a Colorful.Console specific way, but you can do Console.ForegroundColor = System.Drawing.Color.Red; and use any color instead of red. The issue is that you'll have to reset your color back afterwards. So, you could create a method that accepts and input. Then reset the color. Just call that method anytime you need input.
minty
minty16mo ago
thanks
Denis
Denis16mo ago
If that worked, remember to /close this thread
minty
minty16mo ago
ok