Skip to content

Is there a way to render the console output inside the GUI? #1986

Answered by tznind
KieranDevvs asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@KieranDevvs
Comment options

@tznind
Comment options

@KieranDevvs
Comment options

@tznind
Comment options

@KieranDevvs
Comment options

Answer selected by KieranDevvs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants