Added in 2.3

$editboxhistory(window,N)

Returns the Nth Editbox history item for the window.

See also $editbox, /editbox.

Parameters

Parameter Description
window The window to retrieve Editbox history from.
N If N = 0, number of history items, otherwise the Nth item.

Properties

Property Description
.pos Returns the current Editbox history position.

Example

; Print number of Editbox history items for the active window.
//echo -ag $editboxhistory($active, 0)

; Print the first Editbox history item for the active window.
//echo -ag $editboxhistory($active, 1)