Module crossterm::input

source ·
Expand description

With this module you can perform actions that are input related. Like reading a line, reading a character and reading asynchronously.

Structs

This is a wrapper for reading from the input asynchronously. This wrapper has a channel receiver that receives the input from the user whenever it typed something. You only need to check whether there are new characters available.
Struct that stores an specific platform implementation for input related actions.

Functions

Get an Terminal Input implementation whereon input related actions can be performed. Pass the reference to any screen you want this type to perform actions on.