Module crossterm::input [−][src]
With this module you can perform actions that are input related. Like reading a line, reading a character and reading asynchronously.
Structs
AsyncReader |
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. |
TerminalInput |
Struct that stores an specific platform implementation for input related actions. |
Functions
input |
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. |