6.2 Character Input

Characters can be input within a window by the call:

(window-input-string w str x y &optional size)
window-input-string will print the initial string str, if non-nil, at the specified position in the window; str, if not modified by the user, will also be the initial part of the result. A caret is displayed showing the location of the next input character. Characters are echoed as they are typed; backspacing erases characters, including those from the initial string str. An area of width size (default 100) is erased to the right of the initial caret.