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.23 1999/06/16 22:53:05 marcus Exp $ + // $Id: Readline.pike,v 1.24 1999/06/22 19:22:42 marcus Exp $      class OutputController   {    static private object outfd, term;    static private int xpos = 0, columns = 0;    static private mapping oldattrs = 0;       void disable()    {    catch{
pike.git/lib/modules/Stdio.pmod/Readline.pike:1169:    if(clear)    output_controller->clear();    else if(!nobackup) {    setcursorpos(0);    output_controller->bol();    output_controller->clear(1);    }    output_controller->check_columns();       if(!input_controller->dumb) { -  // This seems like a silly limitation -  // if(newline_func == read_newline) +  if(newline_func == read_newline)    output_controller->write(prompt);    output_controller->write(text,0,hide);    }    cursorpos = sizeof(text);    setcursorpos(p);   }      static private void initline()   {    text = "";