onInput abstract method

void onInput(
  1. void handler(
    1. String data
    )
)

Registers handler for user keystrokes (xterm delivers a decoded string).

Implementation

void onInput(void Function(String data) handler);