✅ Center text prompt.
Hi guys! I have been trying to center a text prompt for a console app but I haven't figured out how to do it. I have tried various methods like SetCursorPosition and the Center method. But nothing seems to work.
Here is the code I've been working with.
https://pastebin.com/UsKeEY9R
Pastebin
using Specre.Console; private static string GetFirstName() { ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
3 Replies
Well, your code seems to be using
Specre.Console
, so that could be why Spectre.Console is not working
There's nothing in this code that would actually center the text either
Just a prompt$close
If you have no further questions, please use /close to mark the forum thread as answered