HistoryCursor constructor

HistoryCursor(
  1. CommandHistoryBuffer _history
)

Creates a cursor positioned past the newest entry (fresh-line state).

Implementation

HistoryCursor(this._history) : _index = _history.length;