Session based / Telnet console. #836
-
Is it possible to create multiple instances of Spectre in the same app? If you have long running server apps, without a UI, it's handy to have a console you can connect to. A listener socket you can Telnet into which creates a console session. I find it useful for debugging, making live configuration changes, or capturing the log output in real-time. It would be nice to make it look better with Spectre. I want to be able to launch new instances, on demand, but couldn't see any solution to this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can create a new |
Beta Was this translation helpful? Give feedback.
You can create a new
AnsiConsole
via the AnsiConsole.Create. If you don't want to output all the consoles to stdout, you will need to implement anIAnsiConsoleOutput
and use that one when creating the console.