MrLalatg
MrLalatg

Reputation: 633

Make curses output persist in console after script execution end

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

Answers (1)

Thomas Dickey
Thomas Dickey

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

Related Questions