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 :

Classe « window » Python 3.11.3

Méthode curses.window.insstr

Signature de la méthode insstr

Description

help(window.insstr)

insstr([y, x,] str, [attr])
Insert the string before the current or specified position.

  y
    Y-coordinate.
  x
    X-coordinate.
  str
    String to insert.
  attr
    Attributes for characters.

Insert a character string (as many characters as will fit on the line)
before the character under the cursor.  All characters to the right of
the cursor are shifted right, with the rightmost characters on the line
being lost.  The cursor position does not change (after moving to y, x,
if specified).