keyInput method

  1. @override
void keyInput(
  1. TerminalKey key, {
  2. bool ctrl = false,
  3. bool alt = false,
  4. bool shift = false,
  5. bool mac = false,
  6. String? character,
})
override

notifies the Terminal about key input

Implementation

@override
void keyInput(
  TerminalKey key, {
  bool ctrl = false,
  bool alt = false,
  bool shift = false,
  bool mac = false,
  // bool meta,
  String? character,
}) {
  _sendPort?.send(
      [_IsolateCommand.keyInput, key, ctrl, alt, shift, mac, character]);
}