Method Stdio.Readline()->edit()


Method edit

string|zero edit(string data, string|void local_prompt, array(string)|void attrs)

Description

Read a line of data from the input.

Parameter data

Initial/default value that the user may edit.

Parameter local_prompt

Alternative prompt. Defaults to the prompt set by set_prompt().

Parameter attrs

Alternative prompt attributes. Defaults to the attributes set by set_prompt().

See also

read()