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)
Was this page helpful?