[Tutor] How to use "curses.resizeterm(nlines, ncols)"

Mats Wichmann mats at wichmann.us
Sun Feb 24 15:52:23 EST 2019


On 2/24/19 1:30 PM, boB Stepp wrote:

> So what am I misunderstanding?  Can someone show me a code snippet
> that I can run which will demonstrate the usefulness and usage of
> curses.resizeterm()?
> 
> TIA!
> 

If it's snippets you want, I always look at programcreek.  These are 
always part of something bigger so they may not fit your request to have 
them be something you can run.

https://www.programcreek.com/python/example/57429/curses.is_term_resized

(I didn't get any hits when I tried resizeterm directly, even though the 
calls are there...)


More information about the Tutor mailing list