March 2003
Intermediate to advanced
656 pages
39h 30m
English
Textpad
class Textpad(window)Creates and returns an instance t of class
Textpad that wraps the curses
window instance window. Instance
t has one frequently used method:
t
.edit( )
Lets the user perform interactive editing on the contents of the
window instance that t wraps. The editing
session supports simple Emacs-like key bindings: normal characters
overwrite the window’s previous contents, arrow keys
move the cursor, Ctrl-H deletes the character to the
cursor’s left. When the user hits Ctrl-G, the
editing session ends, and edit returns the
window’s contents as a single string, with newlines
as line separators.