Saving all previous console output
Is there a way to save all previous console output so that i can write on a blank console and then when the program ends the previous console output will be displayed again?
https://stackoverflow.com/questions/78829619/how-do-you-save-previous-console-output if you want to answer here (I posted here because I dont think theres a point now going on stackoverflow)
9 Replies
I'd probably just write a wrapper around
Console.Write/WriteLine
that also stored in a bufferIm not sure I understand you correctly, are you suggesting to create a new function which has
string message
as a parameter and it prints the message and stores it in a seperate place?pretty much
I do want to keep output from previous programs that will also run is there no other way?
not as such, no
or at least create a temporary new console and link it
you cant read data from stdout
oh, thats unfortunate
thank you anyways
np