Added in 2.3

$editboxhistory(window,N)

Returns the Nth Editbox history item for the window.

Parameters

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

Properties

.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)