From c8da0f966fd5362383e638c586c34e05e9652025 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 24 Mar 2001 19:17:35 +0000 Subject: Document use_rawinput. (Although now that I think more about it, a better solution would have been to factor out the raw_input() call and make it into an overridable method. Oh well, maybe later...) --- Doc/lib/libcmd.tex | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Doc/lib/libcmd.tex b/Doc/lib/libcmd.tex index 37e08a2..e38fc24 100644 --- a/Doc/lib/libcmd.tex +++ b/Doc/lib/libcmd.tex @@ -138,4 +138,9 @@ headers. If empty, no ruler line is drawn. It defaults to \character{=}. \end{memberdesc} - +\begin{memberdesc}{use_rawinput} +A flag, defaulting to true. If true, \method{cmdloop()} uses +\function{raw_input()} to display a prompt and read the next command; +if false, \function{sys.stdout.write()} and +\function{sys.stdin.readline()} are used. +\end{memberdesc} -- cgit v0.12