writeNarrowText method

  1. @override
void writeNarrowText(
  1. String text,
  2. int start,
  3. int end
)
override

Writes the characters of text from start to end: each one cell wide and a whole UTF-16 code unit, ASCII or not, the first one outside ASCII.

Implementation

@override
void writeNarrowText(String text, int start, int end) {
  if (start >= end) return;
  _captureITerm2ClipboardTextRange(text, start, end);
  _buffer.writeNarrow(text, start, end);
  _precedingCodepoint = text.codeUnitAt(end - 1);
}