Method Stdio.Readline()->enable_history()


Method enable_history

void enable_history(array(string)|History|int hist)

Description

Enable/disable history.

Parameter hist
zero

Disable history.

int(1..)

Enable history of max hist lines. If history is already enabled it is kept and the maximum number of lines adjusted.

array(string)

Set the history to this array of lines. The maximum number of lines is set to 512.

History

Use this History object.