pike.git / lib / modules / Stdio.pmod / Readline.pike

version» Context lines:

pike.git/lib/modules/Stdio.pmod/Readline.pike:1: - // $Id: Readline.pike,v 1.40 2001/10/23 20:10:12 nilsson Exp $ + // $Id: Readline.pike,v 1.41 2002/07/14 21:05:59 nilsson Exp $   #pike __REAL_VERSION__      class OutputController   {    static private object(Stdio.File) outfd;    static private object(Stdio.Terminfo.Termcap) term;    static private int xpos = 0, columns = 0;    static private mapping oldattrs = 0;      #define BLINK 1
pike.git/lib/modules/Stdio.pmod/Readline.pike:1331:    output_controller->write(prompt);    if(prompt_attrs)    output_controller->turn_off(@prompt_attrs);    }    output_controller->write(text,0,hide);    }    cursorpos = sizeof(text);    setcursorpos(p);   }    - //! @fixme - //! Document this function +    static private void initline()   {    text = "";    cursorpos = 0;    if (historyobj)    historyobj->initline();   }      //! @fixme   //! Document this function