Buffer constructor
Buffer(
- TerminalState terminal, {
- required int maxLines,
- required bool isAltBuffer,
- Set<
int> ? wordSeparators,
Creates the main or alternate (isAltBuffer) buffer of terminal.
Terminal creates its two buffers itself. A buffer created for any
other TerminalState has no screen to read: it holds
TerminalState.viewHeight blank lines.
Implementation
Buffer(
this.terminal, {
required this.maxLines,
required this.isAltBuffer,
this.wordSeparators,
});