Lines Matching refs:stdscr
81 the entire screen; this is usually called ``stdscr``, after the name of the
85 stdscr = curses.initscr()
106 stdscr.keypad(1)
111 curses.nocbreak(); stdscr.keypad(0); curses.echo()
140 The ``stdscr`` object returned by the :func:`initscr` function is a window
172 ``stdscr.refresh()`` or the :func:`refresh` method of some other relevant
213 string at the current cursor location in the ``stdscr`` window, while
216 window to use, instead of using ``stdscr`` by default. :func:`mvwaddstr` follows
219 Fortunately the Python interface hides all these details; ``stdscr`` is a window
300 stdscr.addstr(0, 0, "Current mode: Typing mode",
302 stdscr.refresh()
325 stdscr.addstr("Pretty text", curses.color_pair(1))
326 stdscr.refresh()
347 stdscr.addstr(0,0, "RED ALERT!", curses.color_pair(1))
384 c = stdscr.getch()
407 s = stdscr.getstr(0,0, 15)