Crate terminput_termwiz

Crate terminput_termwiz 

Source
Expand description

§terminput-termwiz

crates.io docs.rs license CI codecov GitHub repo size Lines of Code

terminput-termwiz provides helper functions for converting between terminput and termwiz types.

§Feature Flags

  • termwiz_0_23 - uses termwiz 0.23 (default)
  • termwiz_0_22 - uses termwiz 0.22

Functions§

mouse_to_termwiztermwiz_0_22 or termwiz_0_23
Converts the terminput MouseEvent to a termwiz MouseEvent.
to_terminputtermwiz_0_22 or termwiz_0_23
Converts the termwiz InputEvent to a terminput Event.
to_terminput_keytermwiz_0_22 or termwiz_0_23
Converts the termwiz KeyEvent to a terminput KeyEvent.
to_terminput_mousetermwiz_0_22 or termwiz_0_23
Converts the termwiz MouseEvent to a terminput MouseEvent.
to_termwiztermwiz_0_22 or termwiz_0_23
Converts the terminput Event to a termwiz InputEvent.
to_termwiz_keytermwiz_0_22 or termwiz_0_23
Converts the terminput KeyEvent to a termwiz KeyEvent.