Expand description
A module that contains all the actions related to reading input from the terminal. 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 a platform-specific implementation for input related actions.
Enums
This enum represents key events which could be caused by the user.
Functions
Get a
TerminalInput
instance whereon input related actions can be performed.
Pass the reference to any Screen
you want this type to perform actions on.Get a
TerminalInput
instance whereon input related actions can be performed.