writeNarrowText method
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);
}