PyDocs

Command-line interface libraries

curses.textpad

Simple textbox editing widget with Emacs-like keybindings.
Symbols in curses.textpad

r

rectangle
Draw a rectangle with corners at the provided upper-left and lower-right coordinates.

t

Textbox
Editing widget using the interior of a window object.