PyDocs

Nav

Command-line interface libraries

window.addnstr

curses

method of windownot Androidnot iOSnot WASI
  • window.addnstr(str, n[, attr])
  • window.addnstr(y, x, str, n[, attr])
addnstr([y, x,] str, n, [attr])
Paint at most n characters of the string.

  y
    Y-coordinate.
  x
    X-coordinate.
  str
    String to add.
  n
    Maximal number of characters.
  attr
    Attributes for characters.

Paint at most n characters of the string str at (y, x) with
attributes attr, overwriting anything previously on the display.
By default, the character position and attributes are the
current settings for the window object.
0 Examples
No examples for curses/window.addnstr.
See Also
No see-alsos for curses/window.addnstr
0 Notes
No notes for window.addnstr