PyDocs

Nav

Command-line interface libraries

window.chgat

curses

method of windownot Androidnot iOSnot WASI
  • window.chgat(attr)
  • window.chgat(num, attr)
  • window.chgat(y, x, attr)
  • window.chgat(y, x, num, attr)
chgat([y, x,] [n=-1,] attr)
Set the attributes of characters.

  y
    Y-coordinate.
  x
    X-coordinate.
  n
    Number of characters.
  attr
    Attributes for characters.

Set the attributes of num characters at the current cursor position, or at
position (y, x) if supplied.  If no value of num is given or num = -1, the
attribute will be set on all the characters to the end of the line.  This
function does not move the cursor.  The changed line will be touched using
the touchline() method so that the contents will be redisplayed by the next
window refresh.
0 Examples
No examples for curses/window.chgat.
See Also
No see-alsos for curses/window.chgat
0 Notes
No notes for window.chgat