简体   繁体   中英

Python Curses iniscr() without Clearing Screen?

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()

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM