Is there a way to render the console output inside the GUI? #1986
-
Looking for a way to render the console output to the user within the GUI. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Do you mean you want a gui.cs I have in the past redirected the output stream from a seperate (console) readonly If you could explain more about your requirements that would help. |
Beta Was this translation helpful? Give feedback.
Do you mean you want a gui.cs
View
which shows the output of a console process? Do you need it to be interactive (i.e. a subwindow that is a fully interactive console) or can it be readonly?I have in the past redirected the output stream from a seperate (console) readonly
Process
to Terminal.Gui (see https://github.com/HicServices/RDMP/blob/develop/Tools/rdmp/CommandLine/Gui/Windows/RunnerWindows/RunEngineWindow.cs). This used a ListView and redirected output streams to list items. But there was no ability for the user to provide interactive feedback (e.g. Console.ReadLine).If you could explain more about your requirements that would help.