Reputation: 633
After my script execution ends all of the curses output disappear, is there any way to keep the curses output in the console?
Upvotes: 2
Views: 531
Reputation: 54475
curses switches to the terminal's alternate screen because the terminal description tells it to do that. If you choose (or modify) a terminal description to omit that feature, on exit from curses, the terminal will show what was on the curses screen (usually shifted up by a line).
Further reading:
Upvotes: 1