PyDocs

Nav

Command-line interface libraries

window.getstr

curses

method of windownot Androidnot iOSnot WASI
  • window.getstr()
  • window.getstr(n)
  • window.getstr(y, x)
  • window.getstr(y, x, n)
getstr([[y, x,] n=2047])
Read a line of input and return it as a bytes object.

  y
    Y-coordinate.
  x
    X-coordinate.
  n
    Maximal number of bytes.
Changed in 3.14
  • 3.14: The maximum value for n was increased from 1023 to 2047.
0 Examples
No examples for curses/window.getstr.
See Also
No see-alsos for curses/window.getstr
0 Notes
No notes for window.getstr