input/key_input library

Functions

encodeKey(LogicalKeyboardKey key, String? character, {bool shift = false, bool alt = false, bool ctrl = false, bool meta = false, required int modeFlags}) Uint8List?
Encodes a key event to terminal bytes; null if the key produces no output. modeFlags carries the terminal's current TermMode bits.