Right now, after my Python program that uses curses
exits, I'm left with a blank screen. Anything that I'd done prior to running my program is no longer visible.
How can I make it so that after my curses program exits, the prior contents is visible, IE, the way that less
, man
, and vim
do on *nix.
Extra details: I'm using the Windows console, so *nix terminal commands won't work. For anyone wondering how I managed to get curses
working on Windows, see my answer over here.
My question is exactly the same as this one, except mine is specific to Python (not C) and Windows (not *nix).