term_input 0.1.2

Input handling for xterm-compatible terminals
docs.rs failed to build term_input-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: term_input-0.1.5

Interprets the terminal events we care about:

  • Resize events.
  • Keyboard input.

Resize events are handled by registering a signal handler for SIGWINCH.

Keyboard events are read from stdin. We look for byte strings of key combinations that we care about. E.g. Alt-arrow keys, C-w etc.