curses.window.getbegyx()

window.getbegyx() Return a tuple (y, x) of co-ordinates of upper-left corner.

curses.window.erase()

window.erase() Clear the window.

curses.window.encoding

window.encoding Encoding used to encode method arguments (Unicode strings and characters). The encoding attribute is inherited from the parent window when a subwindow is created, for example with window.subwin(). By default, the locale encoding is used (see locale.getpreferredencoding()). New in version 3.3.

curses.window.enclose()

window.enclose(y, x) Test whether the given pair of screen-relative character-cell coordinates are enclosed by the given window, returning True or False. It is useful for determining what subset of the screen windows enclose the location of a mouse event.

curses.window.echochar()

window.echochar(ch[, attr]) Add character ch with attribute attr, and immediately call refresh() on the window.

curses.window.derwin()

window.derwin(begin_y, begin_x) window.derwin(nlines, ncols, begin_y, begin_x) An abbreviation for “derive window”, derwin() is the same as calling subwin(), except that begin_y and begin_x are relative to the origin of the window, rather than relative to the entire screen. Return a window object for the derived window.

curses.window.deleteln()

window.deleteln() Delete the line under the cursor. All following lines are moved up by one line.

curses.window.delch()

window.delch([y, x]) Delete any character at (y, x).

curses.window.cursyncup()

window.cursyncup() Update the current cursor position of all the ancestors of the window to reflect the current cursor position of the window.

curses.window.clrtoeol()

window.clrtoeol() Erase from cursor to the end of the line.