curses.window.clrtobot()

window.clrtobot() Erase from cursor to the end of the window: all lines below the cursor are deleted, and then the equivalent of clrtoeol() is performed.

curses.window.clearok()

window.clearok(yes) If yes is 1, the next call to refresh() will clear the window completely.

curses.window.clear()

window.clear() Like erase(), but also cause the whole window to be repainted upon next call to refresh().

curses.window.chgat()

window.chgat(attr) window.chgat(num, attr) window.chgat(y, x, attr) window.chgat(y, x, num, attr) 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.

curses.window.box()

window.box([vertch, horch]) Similar to border(), but both ls and rs are vertch and both ts and bs are horch. The default corner characters are always used by this function.

curses.window.border()

window.border([ls[, rs[, ts[, bs[, tl[, tr[, bl[, br]]]]]]]]) Draw a border around the edges of the window. Each parameter specifies the character to use for a specific part of the border; see the table below for more details. The characters can be specified as integers or as one-character strings. Note A 0 value for any parameter will cause the default character to be used for that parameter. Keyword parameters can not be used. The defaults are listed in this table: Parameter Description

curses.window.bkgdset()

window.bkgdset(ch[, attr]) Set the window’s background. A window’s background consists of a character and any combination of attributes. The attribute part of the background is combined (OR’ed) with all non-blank characters that are written into the window. Both the character and attribute parts of the background are combined with the blank characters. The background becomes a property of the character and moves with the character through any scrolling and insert/delete line/character operat

curses.window.bkgd()

window.bkgd(ch[, attr]) Set the background property of the window to the character ch, with attributes attr. The change is then applied to every character position in that window: The attribute of every character in the window is changed to the new background attribute. Wherever the former background character appears, it is changed to the new background character.

curses.window.attrset()

window.attrset(attr) Set the “background” set of attributes to attr. This set is initially 0 (no attributes).

curses.window.attron()

window.attron(attr) Add attribute attr from the “background” set applied to all writes to the current window.