input method
Delivers bytes as one read of the terminal's input. As a terminal
does, what the parser holds after them — a lone ESC, an open paste —
is resolved once the clock has moved on by
HeadlessTerminal.inputTimeout without more input.
Implementation
Future<void> input(List<int> bytes) async {
await _send(bytes);
_throwError();
}