Constructor
new AnsiTermHistory(nLines, nColumns, historySize)
Parameters:
Name | Type | Description |
---|---|---|
nLines |
number | The number of lines in the terminal. |
nColumns |
number | The number of columns in the terminal. |
historySize |
number | The size of the history buffer. |
Classes
Methods
_empty_lines() → {void}
Resets screen buffers to their initial state.
This method clears and reinitializes the primary and alternate screen buffers. It also resets the logical line tracking information and the logline_start pointer. History (i.e. the non-screen) part of the line collection is left unchanged.
Returns:
- Type
- void