Type Alias OnInputArgs

Source
pub type OnInputArgs = (String, u32, Buffer, String);
Expand description

Arguments passed to the callback registered to on_input. The (a, b, c, d) tuple represents:

  • a: the string literal "input";
  • b: channel id;
  • c: the Buffer associated to the terminal instance;
  • d: data input.