feed method

void feed(
  1. Uint8List bytes
)

PTY → engine. Buffers until the first resize establishes a real grid width — parsing terminal output before the line width is known would write into a fabricated grid (see _pendingFeed).

Implementation

void feed(Uint8List bytes) {
  if (_client == null) {
    _pendingFeed.add(bytes);
    return;
  }
  _client!.feed(bytes);
}