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

version» Context lines:

pike.git/lib/modules/Stdio.pmod/Readline.pike:1738:   //! Read a line of data from the input.   //!   //! @param prompt   //! Alternative prompt. Defaults to the prompt set by @[set_prompt()].   //!   //! @param attrs   //! Alternative prompt attributes. Defaults to the attributes set   //! by @[set_prompt()].   //!   //! This function is essentially a short hand for - //! @code{edit("", prompt, attrs)@}. + //! @expr{edit("", prompt, attrs)@}.   //!   //! @seealso   //! @[edit()]   string read(string|void prompt, array(string)|void attrs)   {    return edit("", prompt, attrs);   }      //! Enable/disable history.   //!