Class: ConsoleHistory

(package) rune.console.ConsoleHistory()

The ConsoleHistory class represents the input history of a text console.

Constructor

(package) new ConsoleHistory()

Creates a new ConsoleHistory.
Source:

Methods

add(input) → {undefined}

Add input to current history.
Parameters:
Name Type Description
input string Input to store.
Source:
Returns:
Type
undefined

dispose() → {undefined}

Deletes current object.
Source:
Returns:
Type
undefined

next() → {string}

Select next.
Source:
Returns:
Type
string

previous() → {string}

Select previous.
Source:
Returns:
Type
string