Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « curses » Python 3.11.3

Fonction resize_term - module curses

Signature de la fonction resize_term

def resize_term(nlines, ncols) 

Description

help(curses.resize_term)

Backend function used by resizeterm(), performing most of the work.

  nlines
    Height.
  ncols
    Width.

When resizing the windows, resize_term() blank-fills the areas that are
extended.  The calling application should fill in these areas with appropriate
data.  The resize_term() function attempts to resize all windows.  However,
due to the calling convention of pads, it is not possible to resize these
without additional interaction with the application.