keyInput method
bool
keyInput(
- TerminalLibraryFlutterKey key, {
- bool shift = false,
- bool alt = false,
- bool ctrl = false,
Implementation
bool keyInput(
TerminalLibraryFlutterKey key, {
bool shift = false,
bool alt = false,
bool ctrl = false,
}) {
final output = inputHandler?.call(
TerminalLibraryFlutterKeyboardEvent(
key: key,
shift: shift,
alt: alt,
ctrl: ctrl,
state: this,
altBuffer: isUsingAltBuffer,
platform: platform,
),
);
if (output != null) {
onOutput?.call(output);
return true;
}
return false;
}