Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python curses resize window

if stdscr.getch() == curses.KEY_RESIZE:
    curses.resizeterm(*stdscr.getmaxyx())
    stdscr.clear()
    stdscr.refresh()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #curses #resize #window
ADD COMMENT
Topic
Name
7+6 =