Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Curses iniscr() without Clearing Screen?

Tags:

python

curses

For Python 2.7, is there a way to initialize curses without have the screen blank/clear? Right now I am using

stdscr = curses.initscr()
like image 496
dman Avatar asked Jan 23 '26 02:01

dman


1 Answers

No. The python curses library is built on the curses/ncurses library. initscr always clears the screen so the library starts with the screen in a known state (empty).

like image 167
Craig Avatar answered Jan 25 '26 16:01

Craig



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!